Module Name:    src
Committed By:   jmmv
Date:           Mon Jul  5 16:34:41 UTC 2010

Modified Files:
        src/tests/fs/ffs: t_mount.c

Log Message:
Use expect_fail instead of defining xfail.  Looks like I missed this one
during the import of atf 0.10.  Thanks po...@.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/fs/ffs/t_mount.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/ffs/t_mount.c
diff -u src/tests/fs/ffs/t_mount.c:1.1 src/tests/fs/ffs/t_mount.c:1.2
--- src/tests/fs/ffs/t_mount.c:1.1	Wed Jun 30 21:54:56 2010
+++ src/tests/fs/ffs/t_mount.c	Mon Jul  5 16:34:41 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: t_mount.c,v 1.1 2010/06/30 21:54:56 njoly Exp $	*/
+/*	$NetBSD: t_mount.c,v 1.2 2010/07/05 16:34:41 jmmv Exp $	*/
 
 /*
  * Adapted for rump and atf from a testcase supplied
@@ -19,7 +19,6 @@
 {
 	atf_tc_set_md_var(tc, "descr", "mount small 48K ffs image");
 	atf_tc_set_md_var(tc, "use.fs", "true");
-	atf_tc_set_md_var(tc, "xfail", "No PR yet");
 }
 
 ATF_TC_BODY(48Kimage, tc)
@@ -29,8 +28,11 @@
 	if (ffs_newfs(&tmp, IMGNAME, IMGSIZE) != 0)
 		atf_tc_fail("newfs failed");
 
-	if (ffs_mount(tmp, MNTDIR, 0) != 0)
+	if (ffs_mount(tmp, MNTDIR, 0) != 0) {
+		atf_tc_expect_fail("No PR yet");
 		atf_tc_fail("mount failed");
+		atf_tc_expect_pass();
+	}
 	if (ffs_unmount(MNTDIR, 0) != 0)
 		atf_tc_fail("unmount failed");
 

Reply via email to