+2011-08-05 Stefano Lattarini <stefano.lattarini@gmail.com>
+
+ maintcheck: fix spurious failure w.r.t. use of bare "exit"
+ * tests/check12.test: Cosmetic changes to avoid triggering a
+ spurious failure of the `sc_tests_Exit_not_exit' maintainer
+ check.
+
2011-08-05 Stefano Lattarini <stefano.lattarini@gmail.com>
check: update comments to reflect recent heavy changes
cat > a.test << 'END'
#!/bin/sh
-echo a.test: exit ${A_EXIT_STATUS-0}
+echo a.test: exit status: ${A_EXIT_STATUS-0}
exit ${A_EXIT_STATUS-0}
END
cat > b.test << 'END'
#!/bin/sh
-echo b.test: exit ${B_EXIT_STATUS-0}
+echo b.test: exit status: ${B_EXIT_STATUS-0}
exit ${B_EXIT_STATUS-0}
END
chmod +x a.test b.test
cat test-suite.log
cat a.log
cat b.log
- grep '^a\.test: exit 0$' a.log
- grep '^b\.test: exit 1$' b.log
+ grep '^a\.test: exit status: 0$' a.log
+ grep '^b\.test: exit status: 1$' b.log
grep '^FAIL: b$' test-suite.log
- grep '^b\.test: exit 1$' test-suite.log
+ grep '^b\.test: exit status: 1$' test-suite.log
grep '^a\.test' test-suite.log && Exit 1
else :; fi
cat test-suite.log
cat a.log
cat b.log
- grep '^a\.test: exit 0$' a.log
- grep '^b\.test: exit 23$' b.log
+ grep '^a\.test: exit status: 0$' a.log
+ grep '^b\.test: exit status: 23$' b.log
grep '^FAIL: b$' test-suite.log
- grep '^b\.test: exit 23$' test-suite.log
+ grep '^b\.test: exit status: 23$' test-suite.log
grep '^a\.test' test-suite.log && Exit 1
else :; fi
grep 'check-local failed :-(' local.log