Perhaps Solaris sh wants us to explicitly exit 0, rather than just
[rsync/rsync.git] / testsuite / symlink-ignore.test
index 549e74c..47425f3 100644 (file)
@@ -10,7 +10,7 @@
 
 . $srcdir/testsuite/rsync.fns
 
-build_symlinks
+build_symlinks || test_fail "failed to build symlinks"
 
 # Copy recursively, but without -l or -L or -a, and all the symlinks
 # should be missing.
@@ -22,4 +22,5 @@ build_symlinks
 [ -e $todir/relative ] && test_fail "relative symlink was copied"
 [ -e $todir/absolute ] && test_fail "absolute symlink was copied"
 
-true # cool
+exit 0 # last [] may have failed but if we get here then we've one
+