[test] Add tests for determinism

Run compression & validate the compressed file matches a known checksum.

To update the output run:

```
make -C tests update-cli-tests
```
This commit is contained in:
Nick Terrell
2025-03-07 10:31:19 -05:00
committed by Nick Terrell
parent 0de4991942
commit b16d193512
15 changed files with 1339 additions and 1 deletions
+1
View File
@@ -705,6 +705,7 @@ if __name__ == "__main__":
env["DATAGEN_BIN"] = os.path.abspath(args.datagen)
env["ZSTDGREP_BIN"] = os.path.abspath(args.zstdgrep)
env["ZSTDLESS_BIN"] = os.path.abspath(args.zstdless)
env["CLI_TESTS"] = os.path.abspath(args.test_dir)
env["COMMON"] = os.path.abspath(os.path.join(args.test_dir, "common"))
env["PATH"] = bin_dir + ":" + os.getenv("PATH", "")
env["LC_ALL"] = "C"