diff options
| -rwxr-xr-x | validation/test-suite | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/validation/test-suite b/validation/test-suite index 5655ac40..f1d3301a 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 - cd $(dirname "$0") default_path=".." @@ -513,6 +506,10 @@ _EOF return 0 } +## allow flags from environment +set -- $SPARSE_TEST_FLAGS "$@" + +## process the flags while [ "$#" -gt "0" ]; do case "$1" in -a|--abort) |
