* tests/check12.test: Cosmetic changes to avoid triggering a spurious failure of the `sc_tests_Exit_not_exit' maintainer check. --- ChangeLog | 7 +++++++ tests/check12.test | 16 ++++++++-------- 2 files changed, 15 insertions(+), 8 deletions(-)
diff --git a/ChangeLog b/ChangeLog index 0c36417..2342060 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2011-08-05 Stefano Lattarini <[email protected]> + 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 <[email protected]> + check: update comments to reflect recent heavy changes * lib/am/check.am [%?PARALLEL_TESTS%]: Update the comments to reflect the recent changes. Remove quite many comments that diff --git a/tests/check12.test b/tests/check12.test index 27d61f6..e36a94d 100755 --- a/tests/check12.test +++ b/tests/check12.test @@ -34,12 +34,12 @@ END 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 @@ -174,10 +174,10 @@ for vpath in : false; do 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 @@ -197,10 +197,10 @@ for vpath in : false; do 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 -- 1.7.2.3
