summaryrefslogtreecommitdiff
path: root/t/distlinksbrk.sh
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-06-30 13:42:10 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-06-30 13:42:10 +0200
commite2f007f0c78e011c5fab60bfad332f6aad0989f1 (patch)
treebe80565c69b2d10304151e39afdc6772c888e7d7 /t/distlinksbrk.sh
parent8c784651a7da7dc85bd989e75ce63e35762ce27f (diff)
parent9238349c18f1a6f73c32d1e8b62fb5cfaa83bd06 (diff)
downloadautomake-e2f007f0c78e011c5fab60bfad332f6aad0989f1.tar.gz
Merge branch 'maint'
* maint: tests: fix a spurious failure configure: fix detection of POSIX shell to work in a VPATH build tests: prefer "test ! -e FILE" to check that a file doesn't exist Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 't/distlinksbrk.sh')
-rwxr-xr-xt/distlinksbrk.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/t/distlinksbrk.sh b/t/distlinksbrk.sh
index 9f537681f..eccfd9c70 100755
--- a/t/distlinksbrk.sh
+++ b/t/distlinksbrk.sh
@@ -34,11 +34,11 @@ ln -s "$(pwd)/nonesuch" $lnk2
ln -s $lnk1 $lnka
ln -s $lnka $lnkb
-# Sanity checks. Use 'test -r', since Solaris Sh doesn't grok 'test -e'.
-test ! -r $lnk1
-test ! -r $lnk2
-test ! -r $lnka
-test ! -r $lnkb
+# Sanity checks.
+test ! -e $lnk1
+test ! -e $lnk2
+test ! -e $lnka
+test ! -e $lnkb
test -h $lnk1
test -h $lnk2
test -h $lnka