summaryrefslogtreecommitdiff
path: root/shell/hush_test
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush_test')
-rw-r--r--shell/hush_test/hush-vars/var_preserved.right6
-rwxr-xr-xshell/hush_test/hush-vars/var_preserved.tests8
2 files changed, 7 insertions, 7 deletions
diff --git a/shell/hush_test/hush-vars/var_preserved.right b/shell/hush_test/hush-vars/var_preserved.right
index b0def4b..2a9917c 100644
--- a/shell/hush_test/hush-vars/var_preserved.right
+++ b/shell/hush_test/hush-vars/var_preserved.right
@@ -1,4 +1,4 @@
-a=a
-a=a
-a=a
+a=b
+a=b
+a=b
OK
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