Files
busybox/shell/ash_test/ash-misc/wait7.tests
2020-09-29 22:36:36 +02:00

8 lines
137 B
Plaintext
Executable File

sleep 1 && echo "Background1" &
pid=$!
sleep 3 && echo "Background2: BUG!" &
# Shouldn't wait for 2nd bkgd:
wait $pid
kill $!
echo Ok:$?