Bash-4.3 distribution sources and documentation
This commit is contained in:
parent
4539d736f1
commit
ac50fbac37
497 changed files with 129395 additions and 87598 deletions
12
tests/jobs5.sub
Normal file
12
tests/jobs5.sub
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# framework to test new `wait -n' option that waits for any job to finish
|
||||
|
||||
set -m
|
||||
|
||||
sleep 20 &
|
||||
{ sleep 5; exit 12; } &
|
||||
sleep 20 &
|
||||
|
||||
wait -n
|
||||
echo $?
|
||||
|
||||
jobs
|
||||
Loading…
Add table
Add a link
Reference in a new issue