diff options
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 @@ | |||
1 | a=a | 1 | a=b |
2 | a=a | 2 | a=b |
3 | a=a | 3 | a=b |
4 | OK | 4 | 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 @@ | |||
1 | export a=a | 1 | export a=b |
2 | 2 | ||
3 | # external program | 3 | # external program |
4 | a=b /bin/true | 4 | a=c /bin/true |
5 | env | grep ^a= | 5 | env | grep ^a= |
6 | 6 | ||
7 | # builtin | 7 | # builtin |
8 | a=b true | 8 | a=d true |
9 | env | grep ^a= | 9 | env | grep ^a= |
10 | 10 | ||
11 | # exec with redirection only | 11 | # exec with redirection only |
12 | # in bash, this leaks! | 12 | # in bash, this leaks! |
13 | a=b exec 1>&1 | 13 | a=e exec 1>&1 |
14 | env | grep ^a= | 14 | env | grep ^a= |
15 | 15 | ||
16 | echo OK | 16 | echo OK |