From c6966e9f0c2c7e84edd4f354556d090cabdff520 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Thu, 5 Mar 2026 20:48:39 +0800 Subject: format/pack/ingest: Use fixed fixtures --- format/pack/ingest/testdata/fixtures/sha1/METADATA.txt | 3 +++ format/pack/ingest/testdata/fixtures/sha1/base.pack | Bin 0 -> 81007 bytes format/pack/ingest/testdata/fixtures/sha1/nonthin.pack | Bin 0 -> 117458 bytes format/pack/ingest/testdata/fixtures/sha1/thin.pack | Bin 0 -> 38581 bytes .../pack/ingest/testdata/fixtures/sha256/METADATA.txt | 3 +++ format/pack/ingest/testdata/fixtures/sha256/base.pack | Bin 0 -> 105138 bytes .../pack/ingest/testdata/fixtures/sha256/nonthin.pack | Bin 0 -> 152284 bytes format/pack/ingest/testdata/fixtures/sha256/thin.pack | Bin 0 -> 49412 bytes 8 files changed, 6 insertions(+) create mode 100644 format/pack/ingest/testdata/fixtures/sha1/METADATA.txt create mode 100644 format/pack/ingest/testdata/fixtures/sha1/base.pack create mode 100644 format/pack/ingest/testdata/fixtures/sha1/nonthin.pack create mode 100644 format/pack/ingest/testdata/fixtures/sha1/thin.pack create mode 100644 format/pack/ingest/testdata/fixtures/sha256/METADATA.txt create mode 100644 format/pack/ingest/testdata/fixtures/sha256/base.pack create mode 100644 format/pack/ingest/testdata/fixtures/sha256/nonthin.pack create mode 100644 format/pack/ingest/testdata/fixtures/sha256/thin.pack (limited to 'format/pack/ingest/testdata') diff --git a/format/pack/ingest/testdata/fixtures/sha1/METADATA.txt b/format/pack/ingest/testdata/fixtures/sha1/METADATA.txt new file mode 100644 index 00000000..5fcbfe26 --- /dev/null +++ b/format/pack/ingest/testdata/fixtures/sha1/METADATA.txt @@ -0,0 +1,3 @@ +format=sha1 +head=200c960359dad025b4170284c518919eb4a24305 +base=4bc507fc631ea78474d83c47548743c9f1dda0dc diff --git a/format/pack/ingest/testdata/fixtures/sha1/base.pack b/format/pack/ingest/testdata/fixtures/sha1/base.pack new file mode 100644 index 00000000..3d7a4903 Binary files /dev/null and b/format/pack/ingest/testdata/fixtures/sha1/base.pack differ diff --git a/format/pack/ingest/testdata/fixtures/sha1/nonthin.pack b/format/pack/ingest/testdata/fixtures/sha1/nonthin.pack new file mode 100644 index 00000000..ea07c9a0 Binary files /dev/null and b/format/pack/ingest/testdata/fixtures/sha1/nonthin.pack differ diff --git a/format/pack/ingest/testdata/fixtures/sha1/thin.pack b/format/pack/ingest/testdata/fixtures/sha1/thin.pack new file mode 100644 index 00000000..95084feb Binary files /dev/null and b/format/pack/ingest/testdata/fixtures/sha1/thin.pack differ diff --git a/format/pack/ingest/testdata/fixtures/sha256/METADATA.txt b/format/pack/ingest/testdata/fixtures/sha256/METADATA.txt new file mode 100644 index 00000000..8a5ea0a2 --- /dev/null +++ b/format/pack/ingest/testdata/fixtures/sha256/METADATA.txt @@ -0,0 +1,3 @@ +format=sha256 +head=35cc0f4cd1c73524187540494058d233a2ecbd071c85d496a2250d8e0c805ef8 +base=b4abe46895f0bb5aa22fd42d28d428413f265359734c288752e3c2d270eec276 diff --git a/format/pack/ingest/testdata/fixtures/sha256/base.pack b/format/pack/ingest/testdata/fixtures/sha256/base.pack new file mode 100644 index 00000000..52ceef74 Binary files /dev/null and b/format/pack/ingest/testdata/fixtures/sha256/base.pack differ diff --git a/format/pack/ingest/testdata/fixtures/sha256/nonthin.pack b/format/pack/ingest/testdata/fixtures/sha256/nonthin.pack new file mode 100644 index 00000000..50db05d0 Binary files /dev/null and b/format/pack/ingest/testdata/fixtures/sha256/nonthin.pack differ diff --git a/format/pack/ingest/testdata/fixtures/sha256/thin.pack b/format/pack/ingest/testdata/fixtures/sha256/thin.pack new file mode 100644 index 00000000..b331b915 Binary files /dev/null and b/format/pack/ingest/testdata/fixtures/sha256/thin.pack differ -- cgit v1.3.1-10-gc9f91