summaryrefslogtreecommitdiff
path: root/tests/misc
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2007-02-24 12:24:27 +0100
committerJim Meyering <jim@meyering.net>2007-02-24 12:24:27 +0100
commit3ea177e3fa5a42dfe01b63b4c854c3478a1ea60d (patch)
tree5a2b3fc32078f94f4fb8450a4ff5181c3eced7b8 /tests/misc
parent75460e090c5bd114912a659ad73e469c08a2d60c (diff)
downloadcoreutils-3ea177e3fa5a42dfe01b63b4c854c3478a1ea60d.tar.xz
* 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.
Diffstat (limited to 'tests/misc')
-rwxr-xr-xtests/misc/sort-compress6
1 files changed, 3 insertions, 3 deletions
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