aboutsummaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-misc/wait7.tests
blob: a54a778e5ed2faf3d8c0b089d370b5116da77de7 (plain)
1
2
3
4
5
6
7
sleep 1 && echo "Background1" &
pid=$!
sleep 3 && echo "Background2: BUG!" &
# Shouldn't wait for 2nd bkgd:
wait $pid
kill $!
echo Ok:$?