automake-patches
[Top][All Lists]
Advanced

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

[FYI] {maint} tests: fix a spurious XPASS on OpenIndiana


From: Stefano Lattarini
Subject: [FYI] {maint} tests: fix a spurious XPASS on OpenIndiana
Date: Sat, 4 Aug 2012 23:04:11 +0200

* t/instspc.tap: Here, by isolating the $(DESTDIR) used by runs with
different "problematic strings" to prevent them to unduly interfering
with each other.  With this, the Automake testsuite finally run cleanly
on the OpenIndiana and Solaris 10 systems I have access to.

Signed-off-by: Stefano Lattarini <address@hidden>
---
 t/instspc.tap | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/t/instspc.tap b/t/instspc.tap
index f72ccf3..2a0fb10 100755
--- a/t/instspc.tap
+++ b/t/instspc.tap
@@ -285,7 +285,13 @@ for test_name in $test_names_list; do
         ;;
       dest)
         build=build-$test_name
-        dest=$ocwd/$test_string
+        # Also use $test_name in the definition of $dest, to avoid
+        # interferences among different tests in case $test_string
+        # is strangely munged (which is not unexpected, considering
+        # how tricky its characters are).  With some shells, this
+        # has already happened (at least on OpenIndiana 11 and on
+        # Solaris 10).
+        dest=$ocwd/dest-$test_name/$test_string
         mkdir "$build" || fatal_ "cannot create '$build'"
         ;;
       *)
-- 
1.7.12.rc0




reply via email to

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