From: Paul Eggert Date: Mon, 18 Apr 2005 18:37:36 +0000 (+0000) Subject: Use "cat", not "test", to test for X-Git-Tag: CPPI-1_12~982 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=17d40155b4e5020e5d518a1d30b042a20509acc8;p=thirdparty%2Fcoreutils.git Use "cat", not "test", to test for ../../src/dd. Problem reported by Eric Blake. --- diff --git a/tests/install/basic-1 b/tests/install/basic-1 index c3e16b40be..86450dea5c 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 }