diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-04-18 18:37:36 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-04-18 18:37:36 +0000 |
commit | 17d40155b4e5020e5d518a1d30b042a20509acc8 (patch) | |
tree | 64cd1ea9f7e3b59b5e77418f6d02b101a2e0df12 /tests | |
parent | 60910381af453b2ee3ecb591bf35334459ba4a18 (diff) | |
download | coreutils-17d40155b4e5020e5d518a1d30b042a20509acc8.tar.xz |
Use "cat", not "test", to test for
../../src/dd. Problem reported by Eric Blake.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/install/basic-1 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/install/basic-1 b/tests/install/basic-1 index c3e16b40b..86450dea5 100755 --- a/tests/install/basic-1 +++ b/tests/install/basic-1 @@ -8,7 +8,9 @@ fi dir=dir file=file -test -r ../../src/dd || { +# Skip this test if we're on a non-POSIX platform where executable's names end +# in .exe, or we have some other problem like that. +cat ../../src/dd > /dev/null || { echo >&2 "$0: ../../src/dd is not readable, so can't run this test" exit 77 } |