Skip to content

Commit

Permalink
Merge pull request #3093 from dirkmueller/cli_tests_fixup
Browse files Browse the repository at this point in the history
Handle newer less versions in zstdless testing
  • Loading branch information
terrelln authored Mar 10, 2022
2 parents 6a8fba9 + 7a3997c commit c3a89ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/cli-tests/cltools/zstdless.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions tests/cli-tests/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,7 @@ def setup_zstd_symlink_dir(zstd_symlink_dir: str, zstd: str) -> None:
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,
Expand Down

0 comments on commit c3a89ef

Please sign in to comment.