aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-10-13 12:36:05 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-10-13 12:36:05 +0000
commitf886fd2bc7b313d5616e88822387cc6fd6898f34 (patch)
tree6be3ac7ffd4337b7c2296337353778bff7483c99 /shell/hush_test
parentd29084dd7d23cb0efe0732b22aa669adcc5eaa0e (diff)
downloadbusybox-w32-f886fd2bc7b313d5616e88822387cc6fd6898f34.tar.gz
busybox-w32-f886fd2bc7b313d5616e88822387cc6fd6898f34.tar.bz2
busybox-w32-f886fd2bc7b313d5616e88822387cc6fd6898f34.zip
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.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 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 @@
1a=a 1a=b
2a=a 2a=b
3a=a 3a=b
4OK 4OK
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 @@
1export a=a 1export a=b
2 2
3# external program 3# external program
4a=b /bin/true 4a=c /bin/true
5env | grep ^a= 5env | grep ^a=
6 6
7# builtin 7# builtin
8a=b true 8a=d true
9env | grep ^a= 9env | grep ^a=
10 10
11# exec with redirection only 11# exec with redirection only
12# in bash, this leaks! 12# in bash, this leaks!
13a=b exec 1>&1 13a=e exec 1>&1
14env | grep ^a= 14env | grep ^a=
15 15
16echo OK 16echo OK