From 70b503ae955f36fd0e0b960940933b92e98ea94c Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Sat, 4 Aug 2012 23:03:46 +0200 Subject: [PATCH] tests: fix a spurious XPASS on OpenIndiana * 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 --- t/instspc.tap | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/t/instspc.tap b/t/instspc.tap index f72ccf3b8..2a0fb1009 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'" ;; *) -- 2.47.2