summaryrefslogtreecommitdiffstats
path: root/bin/runtest
diff options
context:
space:
mode:
Diffstat (limited to 'bin/runtest')
-rwxr-xr-xbin/runtest21
1 files changed, 3 insertions, 18 deletions
diff --git a/bin/runtest b/bin/runtest
index db7cc33..63bc828 100755
--- a/bin/runtest
+++ b/bin/runtest
@@ -310,24 +310,6 @@ RUNSNAPTEST()
export $1
shift
;;
- setenv2)
- # set environment variable with 2 values
- # a kludge now--the extra single quotes are needed
- # else eval complains.
- shift
- eval $1="'$2 $3'"
- export $1
- shift; shift
- ;;
- setenv3)
- # set environment variable with 3 values
- # a kludge now--the extra single quotes are needed
- # else eval complains.
- shift
- eval $1="'$2 $3 $4'"
- export $1
- shift; shift; shift
- ;;
setenvN)
# set environment variable with $1 values
# e.g., setenvN 3 x a b c is same as setenv x="a b c".
@@ -421,6 +403,9 @@ RUNSNAPTEST()
# op-snapshot <option> snapshot option
# --* configure option
# setenv <name> <value> set environment variable <name> to <value>
+# setenvN) <N> <name> <value> ...
+# set environment variable with <N> values
+# e.g., setenvN 3 x a b c is same as setenv x="a b c".
# skip skip this test
SNAPTEST_CONFIG_PARSE()
{