Module Name:    src
Committed By:   rin
Date:           Sat May  7 13:14:16 UTC 2022

Modified Files:
        src/tests/lib/libc/gen: t_siginfo.c

Log Message:
Skip sigfpe_int also for sh3; integer division by zero is not trapped.


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/tests/lib/libc/gen/t_siginfo.c

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

Modified files:

Index: src/tests/lib/libc/gen/t_siginfo.c
diff -u src/tests/lib/libc/gen/t_siginfo.c:1.46 src/tests/lib/libc/gen/t_siginfo.c:1.47
--- src/tests/lib/libc/gen/t_siginfo.c:1.46	Fri Dec 10 20:36:05 2021
+++ src/tests/lib/libc/gen/t_siginfo.c	Sat May  7 13:14:16 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: t_siginfo.c,v 1.46 2021/12/10 20:36:05 andvar Exp $ */
+/* $NetBSD: t_siginfo.c,v 1.47 2022/05/07 13:14:16 rin Exp $ */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -367,7 +367,7 @@ ATF_TC_BODY(sigfpe_int, tc)
 	struct sigaction sa;
 	long l = strtol("0", NULL, 10);
 
-#if defined(__powerpc__) || defined(__aarch64__)
+#if defined(__aarch64__) || defined(__powerpc__) || defined(__sh3__)
 	atf_tc_skip("Integer division by zero doesn't trap");
 #endif
 	if (sigsetjmp(sigfpe_int_env, 0) == 0) {

Reply via email to