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 Expect a failure to trap unaligned acesse...
details: https://anonhg.NetBSD.org/src/rev/8fda686bf242
branches: trunk
changeset: 943035:8fda686bf242
user: gson <gson%NetBSD.org@localhost>
date: Mon Aug 24 06:55:16 2020 +0000
description:
Expect a failure to trap unaligned acesses only when running under
qemu's TCG CPU emulation, not when running under hardware virtualization
such as qemu -accel nvmm.
diffstat:
tests/lib/libc/gen/t_siginfo.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r ba73b8296e94 -r 8fda686bf242 tests/lib/libc/gen/t_siginfo.c
--- a/tests/lib/libc/gen/t_siginfo.c Mon Aug 24 05:37:40 2020 +0000
+++ b/tests/lib/libc/gen/t_siginfo.c Mon Aug 24 06:55:16 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_siginfo.c,v 1.40 2020/06/20 07:30:09 rin Exp $ */
+/* $NetBSD: t_siginfo.c,v 1.41 2020/08/24 06:55:16 gson Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -495,7 +495,7 @@
addr = calloc(2, sizeof(int));
ATF_REQUIRE(addr != NULL);
- if (isQEMU())
+ if (isQEMU_TCG())
atf_tc_expect_fail("QEMU fails to trap unaligned accesses");
/* Force an unaligned access */
Home |
Main Index |
Thread Index |
Old Index