summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2003-12-11 20:28:03 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2003-12-11 20:28:03 (GMT)
commit4947888c565688da19991374cea02ff07c221b54 (patch)
tree26fa156902220f1524d4b83578ac84297f9519eb /bin
parent38af6a43fa7b537ed435d7aadbb110945853a554 (diff)
downloadhdf5-4947888c565688da19991374cea02ff07c221b54.zip
hdf5-4947888c565688da19991374cea02ff07c221b54.tar.gz
hdf5-4947888c565688da19991374cea02ff07c221b54.tar.bz2
[svn-r7940] 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()
{