diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2008-10-05 21:24:32 +0200 |
---|---|---|
committer | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2008-10-05 21:24:32 +0200 |
commit | 26f7cb7a3938bd296ab728e65678512d9e8dcb24 (patch) | |
tree | e72e21b8b68571162bfd9d0f11f5d48d5d00569e /tests/acloca18.test | |
parent | 2205fc6529f93237b1ea79d8d321a110e56d45ed (diff) | |
download | automake-26f7cb7a3938bd296ab728e65678512d9e8dcb24.tar.gz |
Print captured output before failing.
* tests/acloca14.test, tests/acloca17.test, tests/acloca18.test,
tests/aclocal.test, tests/acsilent.test, tests/alpha.test,
tests/check4.test, tests/color.test, tests/fn99.test,
tests/fn99subdir.test, tests/help.test, tests/init.test,
tests/lisp8.test, tests/missing3.test, tests/pr220.test,
tests/python11.test, tests/python4.test, tests/python5.test,
tests/unused.test, tests/version8.test: When Exit is called
after a command that has stdout or stderr redirected to a file
for later inspection, output the file before failing the test.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Diffstat (limited to 'tests/acloca18.test')
-rwxr-xr-x | tests/acloca18.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/acloca18.test b/tests/acloca18.test index f0bfd571a..be827e3d1 100755 --- a/tests/acloca18.test +++ b/tests/acloca18.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2005, 2006 Free Software Foundation, Inc. +# Copyright (C) 2005, 2006, 2008 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -86,7 +86,7 @@ grep macro23 foo ACLOCAL_TESTSUITE_FLAGS='-I 4 -I 1 -I 2' rm -f foo -$ACLOCAL --install 2>stderr && Exit 1 +$ACLOCAL --install 2>stderr && { cat stderr >&2; Exit 1; } grep AM_MACRO2 stderr ACLOCAL_TESTSUITE_FLAGS='-I 4 -I 1' |