From 9cf66905ff55467ee241f1e6797ecd982b312d13 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Tue, 5 Jun 2001 22:57:35 -0500 Subject: [svn-r3964] Purpose: new feature Description: added the command option of "setenv x y" for setting environment variable x=y. Platforms tested: Eirene --- bin/runtest | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bin/runtest b/bin/runtest index 35ec892..9ec4518 100755 --- a/bin/runtest +++ b/bin/runtest @@ -290,6 +290,13 @@ RUNSNAPTEST() SNAPCMD_OPT="$SNAPCMD_OPT $1 $2" shift; shift ;; + setenv) + # set environment variable + shift + eval $1="$2" + export $1 + shift; shift + ;; *) # unknown test echo "$0: unknown type of test ($1)" retcode=1 -- cgit v0.12