From: Ralf Wildenhues Date: Thu, 4 Sep 2008 20:13:36 +0000 (+0200) Subject: Avoid Heisenbug with verbose testing on HP-UX. X-Git-Tag: v1.10b~117 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c327d0d37c64dd126c71d3ffbf7eb8a3fe00c8c1;p=thirdparty%2Fautomake.git Avoid Heisenbug with verbose testing on HP-UX. * tests/output-order.test: Remove spurious redirection line from output for comparison. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index ae1310b36..84195e683 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2008-09-04 Ralf Wildenhues + Avoid Heisenbug with verbose testing on HP-UX. + * tests/output-order.test: Remove spurious redirection line + from output for comparison. + For all possibly-relative subdirs, use $(am__cd). Up to now, $(am__cd) was only used within backquotes, to avoid extraneous output. This patch also uses it for every `cd' to a diff --git a/tests/output-order.test b/tests/output-order.test index e55ef362b..a2e65a7f9 100755 --- a/tests/output-order.test +++ b/tests/output-order.test @@ -48,5 +48,8 @@ cat stderr >&2 for i in 1 2 3 4 5 6; do rm -f missing install-sh INSTALL COPYING - $AUTOMAKE --add-missing --copy 2>&1 >/dev/null | diff - stderr + # The grep prevents a Heisenbug with the HP-UX shell and VERBOSE=yes. + $AUTOMAKE --add-missing --copy 2>&1 >/dev/null | + grep -v /dev/null | + diff - stderr done