Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libc/gen m68k (except sun2) never issue SIGBUS on ...



details:   https://anonhg.NetBSD.org/src/rev/e293550856c4
branches:  trunk
changeset: 336200:e293550856c4
user:      isaki <isaki%NetBSD.org@localhost>
date:      Tue Feb 17 09:47:08 2015 +0000

description:
m68k (except sun2) never issue SIGBUS on unaligned accesses.
PR lib/49653.  Thanks martin@.

diffstat:

 tests/lib/libc/gen/t_siginfo.c |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 0ba8224a3945 -r e293550856c4 tests/lib/libc/gen/t_siginfo.c
--- a/tests/lib/libc/gen/t_siginfo.c    Tue Feb 17 09:21:57 2015 +0000
+++ b/tests/lib/libc/gen/t_siginfo.c    Tue Feb 17 09:47:08 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_siginfo.c,v 1.28 2015/02/13 16:56:57 martin Exp $ */
+/* $NetBSD: t_siginfo.c,v 1.29 2015/02/17 09:47:08 isaki Exp $ */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -466,6 +466,10 @@
                atf_tc_skip("No SIGBUS signal for unaligned accesses");
 #endif
 
+       /* m68k (except sun2) never issue SIGBUS (PR lib/49653) */
+       if (strcmp(MACHINE_ARCH, "m68k") == 0)
+               atf_tc_skip("No SIGBUS signal for unaligned accesses");
+
        sa.sa_flags = SA_SIGINFO;
        sa.sa_sigaction = sigbus_action;
        sigemptyset(&sa.sa_mask);



Home | Main Index | Thread Index | Old Index