Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/fs/hfs adjust location of xfail in previous for more a...



details:   https://anonhg.NetBSD.org/src/rev/630ba36766e1
branches:  trunk
changeset: 762637:630ba36766e1
user:      pooka <pooka%NetBSD.org@localhost>
date:      Thu Feb 24 17:29:48 2011 +0000

description:
adjust location of xfail in previous for more accuracy

diffstat:

 tests/fs/hfs/t_pathconvert.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r a290f2878e94 -r 630ba36766e1 tests/fs/hfs/t_pathconvert.c
--- a/tests/fs/hfs/t_pathconvert.c      Thu Feb 24 17:26:46 2011 +0000
+++ b/tests/fs/hfs/t_pathconvert.c      Thu Feb 24 17:29:48 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_pathconvert.c,v 1.3 2011/02/24 17:26:46 pooka Exp $  */
+/*     $NetBSD: t_pathconvert.c,v 1.4 2011/02/24 17:29:48 pooka Exp $  */
 
 #include <sys/types.h>
 #include <sys/mount.h>
@@ -41,9 +41,6 @@
        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));
@@ -57,6 +54,9 @@
 
        RL(rump_sys_mkdir("/mp", 0777));
        RZ(rump_pub_etfs_register(FAKEBLK, IMGNAME, RUMP_ETFS_BLK));
+
+       if (strcmp(atf_config_get("atf_arch"), "sparc64") == 0)
+               atf_tc_expect_signal(-1, "PR kern/44631");
        RL(rump_sys_mount(MOUNT_HFS, "/mp", 0, &args, sizeof args));
 
        RL(dirfd = rump_sys_open("/mp", O_RDONLY));



Home | Main Index | Thread Index | Old Index