diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-06-28 13:27:49 +0200 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-06-28 13:37:53 +0200 |
commit | b21d68690612214d8edd810acf11880c3c0ad586 (patch) | |
tree | 7506c8901d7d16c4a5603a11e567b9e6315c9e9d /t/ax/testsuite-summary-checks.sh | |
parent | da9ad6fafeaf5dfa710a1a2b4176d1a049fddf13 (diff) | |
parent | d25fac43a7c239fe8f56b2ce1b87ef3e3d4d7ef0 (diff) | |
download | automake-b21d68690612214d8edd810acf11880c3c0ad586.tar.gz |
Merge branch 'maint'
* maint:
tests: simpler workaround for shells losing the exit status in exit trap
+ Extra non-trivial edits:
* Several tests: Adjusted to use 'exit' rather than 'Exit'.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 't/ax/testsuite-summary-checks.sh')
-rw-r--r-- | t/ax/testsuite-summary-checks.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/t/ax/testsuite-summary-checks.sh b/t/ax/testsuite-summary-checks.sh index 673fbcbdb..9137c22a4 100644 --- a/t/ax/testsuite-summary-checks.sh +++ b/t/ax/testsuite-summary-checks.sh @@ -20,7 +20,7 @@ # testsuite output, packages with and without bug-report addresses, # testsuites in subdirectories, ...) -. ./defs || Exit 1 +. ./defs || exit 1 case $use_colors in yes) @@ -81,9 +81,9 @@ do_check () eval "env $tests $xfail_tests \$MAKE -e check > stdout || st=\$?" cat stdout if $expect_failure; then - test $st -gt 0 || Exit 1 + test $st -gt 0 || exit 1 else - test $st -eq 0 || Exit 1 + test $st -eq 0 || exit 1 fi $PERL "$am_testauxdir"/extract-testsuite-summary.pl stdout >summary.got \ || fatal_ "cannot extract testsuite summary" @@ -95,7 +95,7 @@ do_check () else compare=diff fi - $compare summary.exp summary.got || Exit 1 + $compare summary.exp summary.got || exit 1 } br='============================================================================' |