mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-06-26 23:33:08 +02:00
13 lines
152 B
Plaintext
13 lines
152 B
Plaintext
# 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
|