projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hush: make getch/peek functions directly called
[oweals/busybox.git]
/
shell
/
hush_test
/
hush-vars
/
var_preserved.tests
diff --git
a/shell/hush_test/hush-vars/var_preserved.tests
b/shell/hush_test/hush-vars/var_preserved.tests
index 132d387b49e79121f8d0b5a711fbb64e95e5d6ad..1bddd870fd3dd58e1cdec4a37f95799e0408ea23 100755
(executable)
--- 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