Module Name:    src
Committed By:   gson
Date:           Fri Nov 26 20:02:35 UTC 2021

Modified Files:
        src/tests/net/if_wg: t_misc.sh

Log Message:
The wg_handshake_timeout test case was failing because it contained
atf_fail "failed to trigger PR kern/56252" without a corresponding
atf_expect_fail "PR kern/56252", which makes no sense.  Since the
test case does occasionally fail on real hardware, fix this by adding
the atf_expect_fail rather than by removing the atf_fail.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/tests/net/if_wg/t_misc.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/net/if_wg/t_misc.sh
diff -u src/tests/net/if_wg/t_misc.sh:1.10 src/tests/net/if_wg/t_misc.sh:1.11
--- src/tests/net/if_wg/t_misc.sh:1.10	Thu Jun 17 12:45:58 2021
+++ src/tests/net/if_wg/t_misc.sh	Fri Nov 26 20:02:35 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: t_misc.sh,v 1.10 2021/06/17 12:45:58 riastradh Exp $
+#	$NetBSD: t_misc.sh,v 1.11 2021/11/26 20:02:35 gson Exp $
 #
 # Copyright (c) 2018 Ryota Ozaki <[email protected]>
 # All rights reserved.
@@ -198,6 +198,8 @@ wg_handshake_timeout_body()
 
 	n=$(grep "$ip_local.$port > $ip_peer.$port" $outfile |wc -l)
 
+	atf_expect_fail "PR kern/56252"
+
 	# Give up handshaking after three attempts
 	atf_check_equal $n 3
 

Reply via email to