From 3ea177e3fa5a42dfe01b63b4c854c3478a1ea60d Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 24 Feb 2007 12:24:27 +0100 Subject: * NEWS: sort no longer compresses temporaries by default. * bootstrap.conf: Remove findprog. * doc/coreutils.texi (sort invocation): The default is to not compress. Don't treat "" specially. * src/sort.c: Don't include findprog.h. (create_temp): Compress only if the user specified --compress-program. * tests/misc/sort-compress: Adjusts tests to match new behavior. --- tests/misc/sort-compress | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/misc/sort-compress b/tests/misc/sort-compress index b0f4dd703..0cafb2e9f 100755 --- a/tests/misc/sort-compress +++ b/tests/misc/sort-compress @@ -57,14 +57,14 @@ EOF chmod +x gzip # This will find our new gzip in PATH -PATH=.:$PATH sort -S 1k in > out || fail=1 +PATH=.:$PATH sort -S 1k --compress-program=gzip 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 -# This is to make sure we can disable compression -PATH=.:$PATH sort --compress-program= -S 1k in > out || fail=1 +# This is to make sure it works with no compression. +PATH=.:$PATH sort -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 -- cgit v1.2.3-70-g09d2