From 17d40155b4e5020e5d518a1d30b042a20509acc8 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 18 Apr 2005 18:37:36 +0000 Subject: Use "cat", not "test", to test for ../../src/dd. Problem reported by Eric Blake. --- tests/install/basic-1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/install/basic-1') 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 } -- cgit v1.2.3-54-g00ecf