diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-04-18 06:35:06 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-04-18 06:35:06 +0000 |
commit | 2cb82c08c6677204b79bbc95325fd83267a3117d (patch) | |
tree | b948af38b1a720addc2017161a91e88cf06cd9a4 | |
parent | d5cca2b3b2e2dee8f538d83d5f61b1707c47170d (diff) | |
download | coreutils-2cb82c08c6677204b79bbc95325fd83267a3117d.tar.xz |
Skip this test if ../../src/dd isn't readable.
-rwxr-xr-x | tests/install/basic-1 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/install/basic-1 b/tests/install/basic-1 index 66df30415..c3e16b40b 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 |