Source-Changes-HG archive

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

[src/trunk]: src/tests Set xfail for tests which have a PR for them.



details:   https://anonhg.NetBSD.org/src/rev/d4445f46f029
branches:  trunk
changeset: 755686:d4445f46f029
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed Jun 16 15:39:41 2010 +0000

description:
Set xfail for tests which have a PR for them.

diffstat:

 tests/fs/ptyfs/t_nullpts.c |  6 +++---
 tests/lib/semaphore/sem.c  |  5 +++--
 tests/util/sh/t_expand.sh  |  5 +++--
 3 files changed, 9 insertions(+), 7 deletions(-)

diffs (58 lines):

diff -r 714dd7eb189e -r d4445f46f029 tests/fs/ptyfs/t_nullpts.c
--- a/tests/fs/ptyfs/t_nullpts.c        Wed Jun 16 15:17:37 2010 +0000
+++ b/tests/fs/ptyfs/t_nullpts.c        Wed Jun 16 15:39:41 2010 +0000
@@ -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)
diff -r 714dd7eb189e -r d4445f46f029 tests/lib/semaphore/sem.c
--- a/tests/lib/semaphore/sem.c Wed Jun 16 15:17:37 2010 +0000
+++ b/tests/lib/semaphore/sem.c Wed Jun 16 15:39:41 2010 +0000
@@ -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"
diff -r 714dd7eb189e -r d4445f46f029 tests/util/sh/t_expand.sh
--- a/tests/util/sh/t_expand.sh Wed Jun 16 15:17:37 2010 +0000
+++ b/tests/util/sh/t_expand.sh Wed Jun 16 15:39:41 2010 +0000
@@ -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 */'



Home | Main Index | Thread Index | Old Index