summaryrefslogtreecommitdiff
path: root/tests/su/02/run_env_test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/su/02/run_env_test.sh')
-rwxr-xr-xtests/su/02/run_env_test.sh38
1 files changed, 0 insertions, 38 deletions
diff --git a/tests/su/02/run_env_test.sh b/tests/su/02/run_env_test.sh
deleted file mode 100755
index 525d6193..00000000
--- a/tests/su/02/run_env_test.sh
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/sh
-
-set -e
-
-cd $(dirname $0)
-
-testname=$(basename $0)
-
-. ../../common/config.sh
-. ../../common/log.sh
-
-command=""
-
-case "$testname" in
- *_bash)
- log_start "$0" "propagation of environment variable FOO in command bash: $testname"
- testname=$(echo "$testname" | sed -s 's/_bash$//')
- command="-c bash"
- echo testname: $testname
- ;;
- *)
- log_start "$0" "propagation of environment variable FOO: $test"
- ;;
-esac
-
-save_config
-
-# restore the files on exit
-trap 'log_status "$0" "FAILURE"; restore_config' 0
-
-change_config
-
-"./$testname.exp" "$command"
-
-log_status "$0" "SUCCESS"
-restore_config
-trap '' 0
-