summaryrefslogtreecommitdiffstats
path: root/src/internal/zstd/testdata/README
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/zstd/testdata/README')
-rw-r--r--src/internal/zstd/testdata/README10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/internal/zstd/testdata/README b/src/internal/zstd/testdata/README
new file mode 100644
index 0000000..1a6dbb3
--- /dev/null
+++ b/src/internal/zstd/testdata/README
@@ -0,0 +1,10 @@
+This directory holds files for testing zstd.NewReader.
+
+Each one is a Zstandard compressed file named as hash.arbitrary-name.zst,
+where hash is the first eight hexadecimal digits of the SHA256 hash
+of the expected uncompressed content:
+
+ zstd -d < 1890a371.gettysburg.txt-100x.zst | sha256sum | head -c 8
+ 1890a371
+
+The test uses hash value to verify decompression result.