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 If we survive the check for wrong signal ...
details: https://anonhg.NetBSD.org/src/rev/4d65e830f082
branches: trunk
changeset: 760334:4d65e830f082
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Sun Jan 02 21:39:24 2011 +0000
description:
If we survive the check for wrong signal code, reset our expectation to
"pass" before checking the signal errno.
diffstat:
tests/lib/libc/gen/t_siginfo.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 12acb956dff8 -r 4d65e830f082 tests/lib/libc/gen/t_siginfo.c
--- a/tests/lib/libc/gen/t_siginfo.c Sun Jan 02 21:37:01 2011 +0000
+++ b/tests/lib/libc/gen/t_siginfo.c Sun Jan 02 21:39:24 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_siginfo.c,v 1.6 2011/01/02 21:34:00 pgoyette Exp $ */
+/* $NetBSD: t_siginfo.c,v 1.7 2011/01/02 21:39:24 pgoyette Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -325,6 +325,7 @@
atf_tc_expect_fail("PR port-i386/43655 : integer div-by-zero "
"reports FPE_FLTDIV instead of FPE_INTDIV");
ATF_REQUIRE_EQ(info->si_code, FPE_INTDIV);
+ atf_tc_expect_pass();
ATF_REQUIRE_EQ(info->si_errno, 0);
siglongjmp(sigfpe_int_env, 1);
Home |
Main Index |
Thread Index |
Old Index