tests init: don't automatically re-execute tests with a POSIX shell
[platform/upstream/automake.git] / t / test-trs-recover2.sh
index ef231fc..b8e56b5 100755 (executable)
@@ -40,8 +40,7 @@ $AUTOMAKE -a
 ./configure
 
 : > t
-chmod a-r t
-test ! -r t || exit 77
+chmod a-r t && test ! -r t || skip_ "you can still read unreadable files"
 rm -f t
 
 : Create the required log files.