Module Name:    src
Committed By:   pooka
Date:           Thu Feb 24 17:26:46 UTC 2011

Modified Files:
        src/tests/fs/hfs: t_pathconvert.c

Log Message:
xfail PR kern/44631 on sparc64


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/fs/hfs/t_pathconvert.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/fs/hfs/t_pathconvert.c
diff -u src/tests/fs/hfs/t_pathconvert.c:1.2 src/tests/fs/hfs/t_pathconvert.c:1.3
--- src/tests/fs/hfs/t_pathconvert.c:1.2	Tue Feb 22 18:41:04 2011
+++ src/tests/fs/hfs/t_pathconvert.c	Thu Feb 24 17:26:46 2011
@@ -1,9 +1,10 @@
-/*	$NetBSD: t_pathconvert.c,v 1.2 2011/02/22 18:41:04 pooka Exp $	*/
+/*	$NetBSD: t_pathconvert.c,v 1.3 2011/02/24 17:26:46 pooka Exp $	*/
 
 #include <sys/types.h>
 #include <sys/mount.h>
 
 #include <atf-c.h>
+#include <atf-c/config.h>
 #include <dirent.h>
 #include <errno.h>
 #include <fcntl.h>
@@ -40,6 +41,9 @@
 	int offset, nbytes;
 	bool ok = false;
 
+	if (strcmp(atf_config_get("atf_arch"), "sparc64") == 0)
+		atf_tc_expect_signal(-1, "PR kern/44631");
+
 	snprintf(thecmd, sizeof(thecmd), "uudecode %s/colon.hfs.bz2.uue",
 	    atf_tc_get_config_var(tc, "srcdir"));
 	RZ(system(thecmd));

Reply via email to