Source-Changes-HG archive

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

[src/trunk]: src/tests/fs/vfs Some of the msdosfs tests are killed by SSP due...



details:   https://anonhg.NetBSD.org/src/rev/b2650701a65b
branches:  trunk
changeset: 756415:b2650701a65b
user:      pooka <pooka%NetBSD.org@localhost>
date:      Fri Jul 16 19:16:41 2010 +0000

description:
Some of the msdosfs tests are killed by SSP due to stack limit
being exceeded.  I cannot figure out what is going on by code
reading, nor repeat this either on my desktop or in qemu, so skip
those tests for msdosfs until I can get to the bottom of it.

diffstat:

 tests/fs/vfs/t_renamerace.c |  5 ++++-
 tests/fs/vfs/t_vnops.c      |  8 +++++++-
 2 files changed, 11 insertions(+), 2 deletions(-)

diffs (48 lines):

diff -r f4a96a1a7d1d -r b2650701a65b tests/fs/vfs/t_renamerace.c
--- a/tests/fs/vfs/t_renamerace.c       Fri Jul 16 18:16:43 2010 +0000
+++ b/tests/fs/vfs/t_renamerace.c       Fri Jul 16 19:16:41 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_renamerace.c,v 1.7 2010/07/16 14:14:27 pooka Exp $   */
+/*     $NetBSD: t_renamerace.c,v 1.8 2010/07/16 19:16:41 pooka Exp $   */
 
 /*
  * Modified for rump and atf from a program supplied
@@ -90,6 +90,9 @@
        if (FSTYPE_LFS(tc))
                atf_tc_expect_signal(-1, "PR kern/43582");
 
+       if (FSTYPE_MSDOS(tc))
+               atf_tc_skip("test fails in some setups, reason unknown");
+
        pthread_create(&pt1, NULL, w1, __UNCONST(mp));
        pthread_create(&pt2, NULL, w2, __UNCONST(mp));
 
diff -r f4a96a1a7d1d -r b2650701a65b tests/fs/vfs/t_vnops.c
--- a/tests/fs/vfs/t_vnops.c    Fri Jul 16 18:16:43 2010 +0000
+++ b/tests/fs/vfs/t_vnops.c    Fri Jul 16 19:16:41 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_vnops.c,v 1.2 2010/07/14 20:45:48 pooka Exp $        */
+/*     $NetBSD: t_vnops.c,v 1.3 2010/07/16 19:16:41 pooka Exp $        */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -168,6 +168,9 @@
        char pb1[MAXPATHLEN], pb2[MAXPATHLEN], pb3[MAXPATHLEN];
        struct stat ref;
 
+       if (FSTYPE_MSDOS(tc))
+               atf_tc_skip("test fails in some setups, reason unknown");
+
        USES_DIRS;
 
        md(pb1, mp, "dir1");
@@ -285,6 +288,9 @@
        struct stat sb;
        ino_t f1ino, f2ino;
 
+       if (FSTYPE_MSDOS(tc))
+               atf_tc_skip("test fails in some setups, reason unknown");
+
        if (rump_sys_chdir(mp) == -1)
                atf_tc_fail_errno("chdir mountpoint");
 



Home | Main Index | Thread Index | Old Index