automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Avoid Heisenbug with verbose testing on HP-UX.


From: Ralf Wildenhues
Subject: [PATCH] Avoid Heisenbug with verbose testing on HP-UX.
Date: Thu, 4 Sep 2008 22:39:19 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

* tests/output-order.test: Remove spurious redirection line
from output for comparison.

Signed-off-by: Ralf Wildenhues <address@hidden>
---

This shell issue is described in
  info Autoconf "File Descriptors"

Applied to HEAD and branch-1-10.

Cheers,
Ralf

 ChangeLog               |    4 ++++
 tests/output-order.test |    5 ++++-
 2 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index ae1310b..84195e6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2008-09-04  Ralf Wildenhues  <address@hidden>
 
+       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 e55ef36..a2e65a7 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
-- 
1.5.5.40.g4cdda





reply via email to

[Prev in Thread] Current Thread [Next in Thread]