git: beeeb40bca06 - main - basic_signal test: really skip trap_signal_test on i386

From: Li-Wen Hsu <lwhsu_at_FreeBSD.org>
Date: Wed, 17 Aug 2022 00:16:32 UTC
The branch main has been updated by lwhsu:

URL: https://cgit.FreeBSD.org/src/commit/?id=beeeb40bca06c8ebc8953274bbc5759fb432fab2

commit beeeb40bca06c8ebc8953274bbc5759fb432fab2
Author:     Li-Wen Hsu <lwhsu@FreeBSD.org>
AuthorDate: 2022-08-17 00:15:10 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2022-08-17 00:15:10 +0000

    basic_signal test: really skip trap_signal_test on i386
    
    PR:             265889
    Fixes:          c04721e35ff0e8220c88d5b10f068dba18629f7e
    Sponsored by:   The FreeBSD Foundation
---
 tests/sys/kern/basic_signal.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/sys/kern/basic_signal.c b/tests/sys/kern/basic_signal.c
index be37b0137151..0183d117fdb4 100644
--- a/tests/sys/kern/basic_signal.c
+++ b/tests/sys/kern/basic_signal.c
@@ -106,6 +106,10 @@ ATF_TC_HEAD(trap_signal_test, tc)
 
 ATF_TC_BODY(trap_signal_test, tc)
 {
+#if defined(__i386__)
+	if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false))
+		atf_tc_skip("https://bugs.freebsd.org/265889");
+#endif
 	/*
 	 * Setup the signal handlers
 	 */
@@ -164,10 +168,6 @@ ATF_TC_HEAD(signal_test_T32_to_A32, tc)
 
 t32_isa ATF_TC_BODY(signal_test_T32_to_A32, tc)
 {
-#if defined(__i386__)
-	if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false))
-		atf_tc_skip("https://bugs.freebsd.org/265889");
-#endif
 	/*
 	 * Setup the signal handlers
 	 */