Lines Matching +full:0 +full:- +full:127
37 atf_check -s exit:0 -o empty -e empty ${TEST_SH} -c \
40 atf_check -s exit:0 -o empty -e empty ${TEST_SH} -c \
41 '(exit 3) & wait $!; S=$?; test $S -eq 3 || {
44 atf_check -s exit:0 -o empty -e empty ${TEST_SH} -c \
47 atf_check -s exit:0 -o empty -e empty ${TEST_SH} -c \
64 if [ $S -ne 0 ]; then
71 if [ $? -ne 0 ]; then
76 exit 0
79 [ $? -eq 0 ] || atf_fail "${output}"
87 # atf-sh confuses wait for some reason; work it around by creating
90 if ! ${TEST_SH} -c 'sleep 1 & wait %1' 2>/dev/null
100 if [ $? -ne 0 ]; then
106 if [ $? -ne 0 ]; then
111 exit 0
114 [ $? -eq 0 ] || atf_fail "${output}"
122 if [ $S -ne 3 ]; then
123 echo "Waiting for first job failed - status: $S != 3 (expected)"
129 if [ $S -ne 7 ]; then
130 echo "Waiting for second job failed - status: $S != 7 (expected)"
134 exit 0
138 [ $? -eq 0 ] || atf_fail "${output}"
154 # should return exit status of 127 according to the spec
158 atf_check -s exit:127 -o empty -e ignore ${TEST_SH} -c 'wait 1'
169 while [ $S -ne 0 ] && [ $S != 127 ]; do
180 kill -HUP "${pid}"
185 if [ "$output" != "SIGHUP 129 3 127 " ]; then
186 atf_fail "${output} != 'SIGHUP 129 3 127 '"