Module Name:    src
Committed By:   pooka
Date:           Wed Jun 16 15:39:41 UTC 2010

Modified Files:
        src/tests/fs/ptyfs: t_nullpts.c
        src/tests/lib/semaphore: sem.c
        src/tests/util/sh: t_expand.sh

Log Message:
Set xfail for tests which have a PR for them.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/fs/ptyfs/t_nullpts.c
cvs rdiff -u -r1.3 -r1.4 src/tests/lib/semaphore/sem.c
cvs rdiff -u -r1.5 -r1.6 src/tests/util/sh/t_expand.sh

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/ptyfs/t_nullpts.c
diff -u src/tests/fs/ptyfs/t_nullpts.c:1.1 src/tests/fs/ptyfs/t_nullpts.c:1.2
--- src/tests/fs/ptyfs/t_nullpts.c:1.1	Fri Jun 11 23:52:38 2010
+++ src/tests/fs/ptyfs/t_nullpts.c	Wed Jun 16 15:39:41 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: t_nullpts.c,v 1.1 2010/06/11 23:52:38 pooka Exp $	*/
+/*	$NetBSD: t_nullpts.c,v 1.2 2010/06/16 15:39:41 pooka Exp $	*/
 
 #include <sys/types.h>
 #include <sys/mount.h>
@@ -59,8 +59,8 @@
 ATF_TC(nullrevoke);
 ATF_TC_HEAD(nullrevoke, tc)
 {
-	atf_tc_set_md_var(tc, "descr", "null mount ptyfs and revoke "
-	    "(PR kern/43456)");
+	atf_tc_set_md_var(tc, "descr", "null mount ptyfs and revoke");
+	atf_tc_set_md_var(tc, "xfail", "PR kern/43456");
 }
 
 ATF_TC_BODY(nullrevoke, tc)

Index: src/tests/lib/semaphore/sem.c
diff -u src/tests/lib/semaphore/sem.c:1.3 src/tests/lib/semaphore/sem.c:1.4
--- src/tests/lib/semaphore/sem.c:1.3	Sat Jun 12 22:59:59 2010
+++ src/tests/lib/semaphore/sem.c	Wed Jun 16 15:39:41 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: sem.c,v 1.3 2010/06/12 22:59:59 pooka Exp $	*/
+/*	$NetBSD: sem.c,v 1.4 2010/06/16 15:39:41 pooka Exp $	*/
 
 /*
  * Common code for semaphore tests.  This can be included both into
@@ -265,7 +265,8 @@
 
 	/* this is currently broken.  i'll append the PR number soon */
 	atf_tc_set_md_var(tc, "descr", "tests unlinked semaphores can be "
-	    "closed, PR kern/43452 (%s)", LIBNAME);
+	    "closed (%s)", LIBNAME);
+	atf_tc_set_md_var(tc, "xfail", "PR kern/43452");
 }
 
 #define SEM "/thesem"

Index: src/tests/util/sh/t_expand.sh
diff -u src/tests/util/sh/t_expand.sh:1.5 src/tests/util/sh/t_expand.sh:1.6
--- src/tests/util/sh/t_expand.sh:1.5	Mon Jun 14 16:12:41 2010
+++ src/tests/util/sh/t_expand.sh	Wed Jun 16 15:39:41 2010
@@ -1,4 +1,4 @@
-# $NetBSD: t_expand.sh,v 1.5 2010/06/14 16:12:41 pooka Exp $
+# $NetBSD: t_expand.sh,v 1.6 2010/06/16 15:39:41 pooka Exp $
 #
 # Copyright (c) 2007, 2009 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -86,7 +86,8 @@
 strip_head() {
 	atf_set "descr" "Checks that the %% operator works and strips" \
 	                "the contents of a variable from the given point" \
-			"to the end (test fails: bin/43469)"
+			"to the end"
+	atf_set "xfail" "PR bin/43469"
 }
 strip_body() {
 	line='#define bindir "/usr/bin" /* comment */'

Reply via email to