Skip to content

Commit

Permalink
modifies command echoing for macos / linux compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyan4973 committed Feb 10, 2025
1 parent 468e145 commit 613901b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions tests/cli-tests/compression/levels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ set -v
datagen > file

# Retrieve the program's version information
# Note: command echoing differs between macos and linux, so it's disabled below
set +v
version_info=$(zstd -V)
set -v

# Compress with various levels and ensure that their sizes are ordered
zstd --fast=10 file -o file-f10.zst -q
Expand Down
3 changes: 2 additions & 1 deletion tests/cli-tests/compression/levels.sh.stderr.exact
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
datagen > file

# Retrieve the program's version information
version_info=$(zstd -V)
# Note: command echoing differs between macos and linux, so it's disabled below
set +v

# Compress with various levels and ensure that their sizes are ordered
zstd --fast=10 file -o file-f10.zst -q
Expand Down

0 comments on commit 613901b

Please sign in to comment.