1 2 3 4 5 6 7 8
# If job control is disabled, skip the test test "`type jobs`" = "jobs is a shell builtin" || exit 77 sleep 0 | (sleep 0;exit 3) & sleep 1 echo Zero:$? wait %1 echo Three:$?