From: Paul Eggert Date: Mon, 18 Apr 2005 06:35:06 +0000 (+0000) Subject: Skip this test if ../../src/dd isn't readable. X-Git-Tag: CPPI-1_12~987 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2cb82c08c6677204b79bbc95325fd83267a3117d;p=thirdparty%2Fcoreutils.git Skip this test if ../../src/dd isn't readable. --- diff --git a/tests/install/basic-1 b/tests/install/basic-1 index 66df30415f..c3e16b40be 100755 --- a/tests/install/basic-1 +++ b/tests/install/basic-1 @@ -8,6 +8,11 @@ fi dir=dir file=file +test -r ../../src/dd || { + echo >&2 "$0: ../../src/dd is not readable, so can't run this test" + exit 77 +} + pwd=`pwd` tmp=inst-basic.$$ trap 'status=$?; cd $pwd; rm -rf $tmp && exit $status' 0