summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/runtest7
1 files changed, 7 insertions, 0 deletions
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