Bash-4.3 distribution sources and documentation
[platform/upstream/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