diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-06-28 15:57:28 +0200 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-06-28 16:28:16 +0200 |
commit | 7721f22a2c0f5b286d04427d011351602341de02 (patch) | |
tree | b55f3e46fa9d8ef16856034337317f6b40e34d20 /t/check8.sh | |
parent | 8eda774e3d2311513a35c49d7cad5e05c5fd9e03 (diff) | |
parent | b21d68690612214d8edd810acf11880c3c0ad586 (diff) | |
download | automake-7721f22a2c0f5b286d04427d011351602341de02.tar.gz |
Merge branch 'master' into ng/master
* master:
cosmetics: remove trailing whitespace in some files
coverage: enhance tests in 'missing' script a little
coverage: tests AM_MISSING_PROG usage
docs: document AM_MISSING_PROG
tests: fix a spurious failure with Solaris make
tests: simpler workaround for shells losing the exit status in exit trap
tests: avoid several spurious failures on Solaris
tests: avoid a spurious failure on NetBSD
+ 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/check8.sh')
-rwxr-xr-x | t/check8.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/t/check8.sh b/t/check8.sh index b50a5124b..24eab72ba 100755 --- a/t/check8.sh +++ b/t/check8.sh @@ -18,7 +18,7 @@ # For gen-testsuite-part: ==> try-with-serial-tests <== required='cc native' -. ./defs || Exit 1 +. ./defs || exit 1 cat >> configure.ac << 'END' AC_PROG_CC @@ -65,7 +65,7 @@ $AUTOMAKE -a ./configure AM_COLOR_TESTS=always $MAKE check >stdout 2>stderr \ - && { cat stdout; cat stderr >&2; Exit 1; } + && { cat stdout; cat stderr >&2; exit 1; } cat stdout cat stderr >&2 grep 'XPASS.* foo$' stdout @@ -76,15 +76,15 @@ grep '^[^X]*FAIL.* baz' stdout grep 'XFAIL.* sub/baz' stdout # The parallel test driver should cause circular dependencies. # Look for known warnings from a couple of 'make' implementations. -grep -i 'circular.*dependency' stderr && Exit 1 -grep -i 'graph cycles' stderr && Exit 1 +grep -i 'circular.*dependency' stderr && exit 1 +grep -i 'graph cycles' stderr && exit 1 $MAKE distclean mkdir build cd build ../configure -$MAKE check >stdout && { cat stdout; Exit 1; } +$MAKE check >stdout && { cat stdout; exit 1; } cat stdout # Note: we are not grepping for the space in the lines from the 'foo' # tests, due to the Solaris make VPATH rewriting (if we fix that, we |