Module Name:    src
Committed By:   jruoho
Date:           Wed Apr 11 10:18:26 UTC 2012

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

Log Message:
Revisit the previous: fails on qemu/amd64 but not qemu/i386.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/tests/lib/libc/gen/t_fpsetmask.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_fpsetmask.c
diff -u src/tests/lib/libc/gen/t_fpsetmask.c:1.6 src/tests/lib/libc/gen/t_fpsetmask.c:1.7
--- src/tests/lib/libc/gen/t_fpsetmask.c:1.6	Wed Apr 11 06:45:16 2012
+++ src/tests/lib/libc/gen/t_fpsetmask.c	Wed Apr 11 10:18:25 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: t_fpsetmask.c,v 1.6 2012/04/11 06:45:16 jruoho Exp $ */
+/*	$NetBSD: t_fpsetmask.c,v 1.7 2012/04/11 10:18:25 jruoho Exp $ */
 
 /*-
  * Copyright (c) 1995 The NetBSD Foundation, Inc.
@@ -296,6 +296,10 @@ sigfpe(int s, siginfo_t *si, void *c)
 		if (strcmp(atf_config_get("atf_arch"), "macppc") == 0)	\
 			atf_tc_expect_fail("PR port-macppc/46319");	\
 									\
+		if (strcmp(atf_config_get("atf_arch"), "amd64") == 0 &&	\
+		    system("cpuctl identify 0 | grep -q QEMU") == 0)	\
+			atf_tc_expect_fail("PR misc/44767");		\
+									\
 		m(t##_ops);						\
 	}
 

Reply via email to