* [PATCH] testsuite: process extra options without exec
@ 2017-12-17 15:00 Luc Van Oostenryck
0 siblings, 0 replies; only message in thread
From: Luc Van Oostenryck @ 2017-12-17 15:00 UTC (permalink / raw)
To: linux-sparse; +Cc: Luc Van Oostenryck
Commit 399c43889 (testsuite: get options from env too) allowed
the testsuite to takes extra options from the environment but
did it in a crude way involving exec.
Change this by using 'set --' instead of doing an 'exec'.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
---
validation/test-suite | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/validation/test-suite b/validation/test-suite
index 5655ac40b..f1d3301a6 100755
--- a/validation/test-suite
+++ b/validation/test-suite
@@ -2,13 +2,6 @@
#set -x
-## allow flags from environment
-flags="$SPARSE_TEST_FLAGS"
-if [ ! -z "$flags" ]; then
- unset SPARSE_TEST_FLAGS
- exec "$0" $flags "$@"
-fi
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-12-17 15:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-17 15:00 [PATCH] testsuite: process extra options without exec Luc Van Oostenryck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).