Follows up on https://bugs.gnu.org/67868.
* t/dist-with-unreadable-makefile-fails.sh: chmod u+rw at end.
Also follow usual pattern of ending tests with :, not explicit exit.
* t/tap-bad-prog.tap: chmod u+r at end (since only r removed).
./configure
# 'dist' should fail because we can't copy Makefile.am.
-if $MAKE dist; then
- exit 1
-else
- exit 0
-fi
+! $MAKE dist
+
+# restore sane permissions for future greps and finds.
+chmod u+rw Makefile.am
+
+:
-D TODO -r 'still get "missing plan"' \
count_test_results total=3 pass=0 fail=0 xpass=0 xfail=0 skip=0 error=3
+# restore sane permissions for future greps and finds.
+chmod u+r noread.test
+
: