aboutsummaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-vars
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ash_test/ash-vars')
-rw-r--r--shell/ash_test/ash-vars/var_leak.right2
-rwxr-xr-xshell/ash_test/ash-vars/var_leak.tests4
2 files changed, 2 insertions, 4 deletions
diff --git a/shell/ash_test/ash-vars/var_leak.right b/shell/ash_test/ash-vars/var_leak.right
index 01a5e3263..764680086 100644
--- a/shell/ash_test/ash-vars/var_leak.right
+++ b/shell/ash_test/ash-vars/var_leak.right
@@ -1,4 +1,4 @@
1should be empty: '' 1should be empty: ''
2should be empty: '' 2should be empty: ''
3should be not empty: 'val2' 3should be not empty: 'val2'
4should be not empty: 'val3' 4should be empty: ''
diff --git a/shell/ash_test/ash-vars/var_leak.tests b/shell/ash_test/ash-vars/var_leak.tests
index 5242e24eb..adf66692e 100755
--- a/shell/ash_test/ash-vars/var_leak.tests
+++ b/shell/ash_test/ash-vars/var_leak.tests
@@ -15,9 +15,7 @@ VAR=''
15VAR=val2 exec 2>&1 15VAR=val2 exec 2>&1
16echo "should be not empty: '$VAR'" 16echo "should be not empty: '$VAR'"
17 17
18# ash follows the "function call is a special builtin" rule here
19# (bash does not do it)
20f() { true; } 18f() { true; }
21VAR='' 19VAR=''
22VAR=val3 f 20VAR=val3 f
23echo "should be not empty: '$VAR'" 21echo "should be empty: '$VAR'"