diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-10-13 12:36:05 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-10-13 12:36:05 +0000 |
commit | f886fd2bc7b313d5616e88822387cc6fd6898f34 (patch) | |
tree | 6be3ac7ffd4337b7c2296337353778bff7483c99 /shell/hush_test | |
parent | d29084dd7d23cb0efe0732b22aa669adcc5eaa0e (diff) | |
download | busybox-f886fd2bc7b313d5616e88822387cc6fd6898f34.tar.gz |
hush: fix NOMMU bug (analogous to preceding commit for MMU)
Diffstat (limited to 'shell/hush_test')
-rw-r--r-- | shell/hush_test/hush-vars/var_preserved.right | 6 | ||||
-rwxr-xr-x | shell/hush_test/hush-vars/var_preserved.tests | 8 |
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 b0def4bb6..2a9917c99 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 132d387b4..1bddd870f 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 |