]> git.ipfire.org Git - thirdparty/bash.git/blob - tests/jobs5.sub
Bash-4.3 patch 7
[thirdparty/bash.git] / tests / jobs5.sub
1 # framework to test new `wait -n' option that waits for any job to finish
2
3 set -m
4
5 sleep 20 &
6 { sleep 5; exit 12; } &
7 sleep 20 &
8
9 wait -n
10 echo $?
11
12 jobs