diff options
author | Eric Blake <ebb9@byu.net> | 2009-10-27 14:08:14 -0600 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2009-10-27 18:53:44 -0600 |
commit | 0cc0424119ec66c9005fb905cc1001a64b978ce3 (patch) | |
tree | 4fd1bf84acf34df143bcd80d65feba55b07fe345 /tests/misc/sort-compress | |
parent | f00bbe33e41a9849351ea57c2706516d43e1e98d (diff) | |
download | coreutils-0cc0424119ec66c9005fb905cc1001a64b978ce3.tar.xz |
tests: fix PATH problems on cygwin
* tests/misc/sort-compress: Remove non-portable over-restriction
of PATH; besides, commit 3ea177e changed sort to no longer default
to gzip.
* tests/rm/fail-eperm: Untaint, rather than clear, PATH.
* tests/misc/pwd-long: Likewise. Also skip test if long path
cannot be created.
(normalize_to_cwd_relative): Use eq rather than ==, since cygwin
perl doesn't properly handle 64-bit ino_t numerically.
Diffstat (limited to 'tests/misc/sort-compress')
-rwxr-xr-x | tests/misc/sort-compress | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/misc/sort-compress b/tests/misc/sort-compress index 487d18574..7e319ca8e 100755 --- a/tests/misc/sort-compress +++ b/tests/misc/sort-compress @@ -32,7 +32,7 @@ TMPDIR=.; export TMPDIR fail=0 -# This should force the use of temp files compressed with the default gzip +# This should force the use of temp files sort -S 1k in > out || fail=1 compare exp out || fail=1 @@ -69,8 +69,4 @@ compare exp out || fail=1 test -f ok || fail=1 rm -f dzip ok -# This is to make sure sort functions if it can't find the default gzip -PATH=. "$SORT" -S 1k in > out || fail=1 -compare exp out || fail=1 - Exit $fail |