aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-vars
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-04-10 12:03:20 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-04-10 12:03:20 +0000
commit1fd1ea4395e520694bd9f8b1dc9e60af6442946d (patch)
treeffe931a1e9254789ac119321f88b17767176c73c /shell/hush_test/hush-vars
parent551bdfecb7cfb4df0f127d34884e0a9502324acd (diff)
downloadbusybox-w32-1fd1ea4395e520694bd9f8b1dc9e60af6442946d.tar.gz
busybox-w32-1fd1ea4395e520694bd9f8b1dc9e60af6442946d.tar.bz2
busybox-w32-1fd1ea4395e520694bd9f8b1dc9e60af6442946d.zip
hush: tighten up "for" variable name check.
Add TODOs. Disable redir4.right part where we differ from bash. It is not a bug per standards. Add a few tests, one is in hush-bugs section: and_or_and_backgrounding.right. It will likely bite users in real world usage.
Diffstat (limited to 'shell/hush_test/hush-vars')
-rwxr-xr-xshell/hush_test/hush-vars/param_subshell.tests4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/hush_test/hush-vars/param_subshell.tests b/shell/hush_test/hush-vars/param_subshell.tests
index 565a84589..27fdc5b9b 100755
--- a/shell/hush_test/hush-vars/param_subshell.tests
+++ b/shell/hush_test/hush-vars/param_subshell.tests
@@ -7,9 +7,9 @@ echo 1=$1
7{ echo 3=$3; } & 7{ echo 3=$3; } &
8# cant use usleep as it isnt standard in $PATH -- 8# cant use usleep as it isnt standard in $PATH --
9# we fail when testing busybox compiled solely as "hush" 9# we fail when testing busybox compiled solely as "hush"
10sleep 1 10wait
11( echo 4=$4 ) 11( echo 4=$4 )
12( echo 5=$5 ) & 12( echo 5=$5 ) &
13sleep 1 13wait
14true | echo 6=$6 | cat 14true | echo 6=$6 | cat
15true | { echo 7=$7; } | cat 15true | { echo 7=$7; } | cat