diff options
Diffstat (limited to 'tests/misc')
-rwxr-xr-x | tests/misc/sort-compress | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/misc/sort-compress b/tests/misc/sort-compress index af961d202..b0f4dd703 100755 --- a/tests/misc/sort-compress +++ b/tests/misc/sort-compress @@ -64,21 +64,21 @@ test -f ok || fail=1 rm -f ok # This is to make sure we can disable compression -PATH=.:$PATH GNUSORT_COMPRESSOR= sort -S 1k in > out || fail=1 +PATH=.:$PATH sort --compress-program= -S 1k in > out || fail=1 cmp exp out || fail=1 test $fail = 1 && diff out exp 2> /dev/null test -f ok && fail=1 # This is to make sure we can use something other than gzip mv gzip dzip || fail=1 -GNUSORT_COMPRESSOR=./dzip sort -S 1k in > out || fail=1 +sort --compress-program=./dzip -S 1k in > out || fail=1 cmp exp out || fail=1 test $fail = 1 && diff out exp 2> /dev/null test -f ok || fail=1 rm -f ok # Make sure it can find other programs in PATH correctly -PATH=.:$PATH GNUSORT_COMPRESSOR=dzip sort -S 1k in > out || fail=1 +PATH=.:$PATH sort --compress-program=dzip -S 1k in > out || fail=1 cmp exp out || fail=1 test $fail = 1 && diff out exp 2> /dev/null test -f ok || fail=1 |