mirror of
https://github.com/sheumann/hush.git
synced 2024-11-16 03:06:45 +00:00
1fd1ea4395
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.
16 lines
311 B
Plaintext
Executable File
16 lines
311 B
Plaintext
Executable File
if test $# = 0; then
|
|
"$THIS_SH" "$0" 1 2 3 4 5 6 7 8 9
|
|
exit
|
|
fi
|
|
echo 1=$1
|
|
{ echo 2=$2; }
|
|
{ echo 3=$3; } &
|
|
# cant use usleep as it isnt standard in $PATH --
|
|
# we fail when testing busybox compiled solely as "hush"
|
|
wait
|
|
( echo 4=$4 )
|
|
( echo 5=$5 ) &
|
|
wait
|
|
true | echo 6=$6 | cat
|
|
true | { echo 7=$7; } | cat
|