]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Skip this test if ../../src/dd isn't readable.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 18 Apr 2005 06:35:06 +0000 (06:35 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 18 Apr 2005 06:35:06 +0000 (06:35 +0000)
tests/install/basic-1

index 66df30415f118812b629961cf971db19e3f8410b..c3e16b40be4f33a1cff2e74d6b6ca5bb41ca18cc 100755 (executable)
@@ -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