summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-vars/var_preserved.tests
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush_test/hush-vars/var_preserved.tests')
-rwxr-xr-xshell/hush_test/hush-vars/var_preserved.tests8
1 files changed, 4 insertions, 4 deletions
diff --git a/shell/hush_test/hush-vars/var_preserved.tests b/shell/hush_test/hush-vars/var_preserved.tests
index 132d387..1bddd87 100755
--- a/shell/hush_test/hush-vars/var_preserved.tests
+++ b/shell/hush_test/hush-vars/var_preserved.tests
@@ -1,16 +1,16 @@
-export a=a
+export a=b
# external program
-a=b /bin/true
+a=c /bin/true
env | grep ^a=
# builtin
-a=b true
+a=d true
env | grep ^a=
# exec with redirection only
# in bash, this leaks!
-a=b exec 1>&1
+a=e exec 1>&1
env | grep ^a=
echo OK