summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2003-12-11 20:28:01 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2003-12-11 20:28:01 (GMT)
commit7f6c6193059ac6b97a43f5e2eecc501493eb8670 (patch)
tree54b4163f67167a8de9d995778e2ee269b8dd7831 /bin
parent375cef3d831d4498c98b5ba2c2f78397d0800db2 (diff)
downloadhdf5-7f6c6193059ac6b97a43f5e2eecc501493eb8670.zip
hdf5-7f6c6193059ac6b97a43f5e2eecc501493eb8670.tar.gz
hdf5-7f6c6193059ac6b97a43f5e2eecc501493eb8670.tar.bz2
[svn-r7939] Purpose:
cleanup. Description: Removed the old command that parses setenv2 and setenv3 which are replaced by setenvN. Platforms tested: No h5committest since it does not test this script. Pretty sure it works.
Diffstat (limited to 'bin')
-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()
{