aboutsummaryrefslogtreecommitdiff
path: root/bin/pwait/tests/pwait_test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/pwait/tests/pwait_test.sh')
-rw-r--r--bin/pwait/tests/pwait_test.sh13
1 files changed, 6 insertions, 7 deletions
diff --git a/bin/pwait/tests/pwait_test.sh b/bin/pwait/tests/pwait_test.sh
index 07ed21706fd5..66bdd6981704 100644
--- a/bin/pwait/tests/pwait_test.sh
+++ b/bin/pwait/tests/pwait_test.sh
@@ -1,4 +1,3 @@
-# $FreeBSD$
atf_test_case basic
basic_head()
@@ -88,37 +87,37 @@ time_unit_body()
atf_check \
-o empty \
-e empty \
- -s exit:143 \
+ -s signal:15 \
timeout --preserve-status 2 pwait -t 100000000 $init
atf_check \
-o empty \
-e empty \
- -s exit:143 \
+ -s signal:15 \
timeout --preserve-status 2 pwait -t 1h $init
atf_check \
-o empty \
-e empty \
- -s exit:143 \
+ -s signal:15 \
timeout --preserve-status 2 pwait -t 1.5h $init
atf_check \
-o empty \
-e empty \
- -s exit:143 \
+ -s signal:15 \
timeout --preserve-status 2 pwait -t 1m $init
atf_check \
-o empty \
-e empty \
- -s exit:143 \
+ -s signal:15 \
timeout --preserve-status 2 pwait -t 1.5m $init
atf_check \
-o empty \
-e empty \
- -s exit:143 \
+ -s signal:15 \
timeout --preserve-status 2 pwait -t 0 $init
# The rest are fast enough that pwait -t is expected to trigger