Module Name:    src
Committed By:   pgoyette
Date:           Sun Jan  2 21:39:24 UTC 2011

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

Log Message:
If we survive the check for wrong signal code, reset our expectation to
"pass" before checking the signal errno.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 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.6 src/tests/lib/libc/gen/t_siginfo.c:1.7
--- src/tests/lib/libc/gen/t_siginfo.c:1.6	Sun Jan  2 21:34:00 2011
+++ src/tests/lib/libc/gen/t_siginfo.c	Sun Jan  2 21:39:24 2011
@@ -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);

Reply via email to