Source-Changes-HG archive

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

[src/trunk]: src/tests/fs/vfs Skip zfs, it does not GOP_ALLOC.



details:   https://anonhg.NetBSD.org/src/rev/b98f57e993eb
branches:  trunk
changeset: 446310:b98f57e993eb
user:      hannken <hannken%NetBSD.org@localhost>
date:      Fri Nov 30 09:52:39 2018 +0000

description:
Skip zfs, it does not GOP_ALLOC.

PR kern/47656 test zfs_fillfs.

diffstat:

 tests/fs/vfs/t_full.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 2b4cdd03b112 -r b98f57e993eb tests/fs/vfs/t_full.c
--- a/tests/fs/vfs/t_full.c     Fri Nov 30 09:05:35 2018 +0000
+++ b/tests/fs/vfs/t_full.c     Fri Nov 30 09:52:39 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_full.c,v 1.9 2017/01/13 21:30:40 christos Exp $      */
+/*     $NetBSD: t_full.c,v 1.10 2018/11/30 09:52:39 hannken Exp $      */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -56,7 +56,8 @@
        size_t bonus;
        int fd, i = 0;
 
-       if (FSTYPE_P2K_FFS(tc) || FSTYPE_PUFFS(tc) || FSTYPE_RUMPFS(tc)) {
+       if (FSTYPE_P2K_FFS(tc) || FSTYPE_PUFFS(tc) || FSTYPE_RUMPFS(tc) ||
+           FSTYPE_ZFS(tc)) {
                atf_tc_skip("fs does not support explicit block allocation "
                    "(GOP_ALLOC)");
        }
@@ -77,8 +78,6 @@
                if (n == -1)
                        break;
        }
-       if (FSTYPE_ZFS(tc))
-               atf_tc_expect_fail("PR kern/47656: Test known to be broken");
        if (n == -1) {
                if (errno != ENOSPC)
                        atf_tc_fail_errno("write");



Home | Main Index | Thread Index | Old Index