From 1fd1ea4395e520694bd9f8b1dc9e60af6442946d Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 10 Apr 2009 12:03:20 +0000 Subject: 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. --- shell/hush_test/hush-vars/param_subshell.tests | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shell/hush_test/hush-vars') 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 { echo 3=$3; } & # cant use usleep as it isnt standard in $PATH -- # we fail when testing busybox compiled solely as "hush" -sleep 1 +wait ( echo 4=$4 ) ( echo 5=$5 ) & -sleep 1 +wait true | echo 6=$6 | cat true | { echo 7=$7; } | cat -- cgit v1.2.3