From c327d0d37c64dd126c71d3ffbf7eb8a3fe00c8c1 Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Thu, 4 Sep 2008 22:13:36 +0200 Subject: [PATCH] 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 --- ChangeLog | 4 ++++ tests/output-order.test | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) 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 -- 2.47.2