Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/sys/rc Mark randomly failing test cases as expected fa...
details: https://anonhg.NetBSD.org/src/rev/1acea466947d
branches: trunk
changeset: 362034:1acea466947d
user: gson <gson%NetBSD.org@localhost>
date: Sat Feb 26 16:21:59 2022 +0000
description:
Mark randomly failing test cases as expected failures with a reference
to PR bin/56506.
diffstat:
tests/sys/rc/t_rc_d_cli.sh | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (43 lines):
diff -r 2e4204f1fe60 -r 1acea466947d tests/sys/rc/t_rc_d_cli.sh
--- a/tests/sys/rc/t_rc_d_cli.sh Sat Feb 26 15:57:22 2022 +0000
+++ b/tests/sys/rc/t_rc_d_cli.sh Sat Feb 26 16:21:59 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_rc_d_cli.sh,v 1.4 2010/11/07 17:51:21 jmmv Exp $
+# $NetBSD: t_rc_d_cli.sh,v 1.5 2022/02/26 16:21:59 gson Exp $
#
# Copyright (c) 2010 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -48,8 +48,10 @@
export h_simple=YES
rc_helper=$(atf_get_srcdir)/h_simple
+ atf_expect_fail "PR bin/56506"
atf_check -s eq:0 -o ignore -e empty ${rc_helper} start
${rc_helper} forcestop
+ atf_fail "random failure did not happen this time"
}
atf_test_case default_start_with_args
@@ -77,8 +79,10 @@
export h_simple=YES
rc_helper=$(atf_get_srcdir)/h_simple
+ atf_expect_fail "PR bin/56506"
${rc_helper} start
atf_check -s eq:0 -o ignore -e empty ${rc_helper} stop
+ atf_fail "random failure did not happen this time"
}
atf_test_case default_stop_with_args
@@ -108,9 +112,11 @@
export h_simple=YES
rc_helper=$(atf_get_srcdir)/h_simple
+ atf_expect_fail "PR bin/56506"
${rc_helper} start
atf_check -s eq:0 -o ignore -e empty ${rc_helper} restart
${rc_helper} forcestop
+ atf_fail "random failure did not happen this time"
}
atf_test_case default_restart_with_args
Home |
Main Index |
Thread Index |
Old Index