[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] tests: fix spurious failure when CONFIG_SITE is set
From: |
Stefano Lattarini |
Subject: |
[PATCH] tests: fix spurious failure when CONFIG_SITE is set |
Date: |
Sun, 4 Mar 2012 16:31:23 +0100 |
* tests/m4sh.at (Configure re-execs self with CONFIG_SHELL): Export
$CONFIG_SITE to "/dev/null", to avoid spurious diffs in expected
stdout/stderr.
---
I've pushed this as obvious. If fixes one of the recent Solaris
failures Ive reported (it was just a spurious failure after all).
Regards,
Stefano
tests/m4sh.at | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/tests/m4sh.at b/tests/m4sh.at
index 8e9d1fe..78fe967 100644
--- a/tests/m4sh.at
+++ b/tests/m4sh.at
@@ -120,7 +120,10 @@ exec sh "@S|@@"
chmod a+x cfg-sh
AT_CAPTURE_FILE([config.log])
-AT_CHECK([env CONFIG_SHELL=./cfg-sh ./configure], [0], [], [])
+# Export CONFIG_SITE to /dev/null to avoid spurious diffs in expected
+# stdout/stderr.
+AT_CHECK([env CONFIG_SITE=/dev/null CONFIG_SHELL=./cfg-sh ./configure],
+ [0], [], [])
# ./configure re-executed itself.
AT_CHECK([test -f cfg-sh-has-run], [0])
# And did that not to cause extra execution of later commands.
--
1.7.9
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] tests: fix spurious failure when CONFIG_SITE is set,
Stefano Lattarini <=