mirror of
https://github.com/facebook/zstd.git
synced 2025-10-18 00:03:50 -04:00
Merge pull request #3093 from dirkmueller/cli_tests_fixup
Handle newer less versions in zstdless testing
This commit is contained in:
commit
c3a89ef60c
@ -7,4 +7,4 @@ zstdless file.zst
|
||||
println "+ pass parameters"
|
||||
zstdless -N file.zst # This parameter does not produce line #s when piped, but still serves to test that the flag went to less and not zstd
|
||||
println "+ bad path"
|
||||
zstdless bad.zst
|
||||
zstdless bad.zst >&2
|
||||
|
@ -704,6 +704,7 @@ if __name__ == "__main__":
|
||||
env["ZSTDLESS_BIN"] = os.path.abspath(args.zstdless)
|
||||
env["COMMON"] = os.path.abspath(os.path.join(args.test_dir, "common"))
|
||||
env["PATH"] = bin_dir + ":" + os.getenv("PATH", "")
|
||||
env["LC_ALL"] = "C"
|
||||
|
||||
opts = Options(
|
||||
env=env,
|
||||
|
Loading…
x
Reference in New Issue
Block a user