Source-Changes-HG archive

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

[src/trunk]: src/tests/fs/ffs Set timeout to 20 because for some reason this ...



details:   https://anonhg.NetBSD.org/src/rev/d90ae7df30c2
branches:  trunk
changeset: 747488:d90ae7df30c2
user:      pooka <pooka%NetBSD.org@localhost>
date:      Thu Sep 17 13:12:51 2009 +0000

description:
Set timeout to 20 because for some reason this test hangs in qemu.
(Well, it *still* hangs even after the timeout has passed, but at
least there's multiple problems to debug now)

diffstat:

 tests/fs/ffs/t_renamerace.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r ae81afbe1653 -r d90ae7df30c2 tests/fs/ffs/t_renamerace.c
--- a/tests/fs/ffs/t_renamerace.c       Thu Sep 17 12:38:11 2009 +0000
+++ b/tests/fs/ffs/t_renamerace.c       Thu Sep 17 13:12:51 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_renamerace.c,v 1.7 2009/08/03 14:25:24 pooka Exp $   */
+/*     $NetBSD: t_renamerace.c,v 1.8 2009/09/17 13:12:51 pooka Exp $   */
 
 /*
  * Modified for rump and atf from a program supplied
@@ -29,9 +29,11 @@
 {
        atf_tc_set_md_var(tc, "descr", "rename(2) race against files "
            "unlinked mid-operation, kern/40948");
+       /* XXX: test hangs in qemu for unknown reasons */
+       atf_tc_set_md_var(tc, "timeout", "20");
 }
 
-int quit;
+volatile int quit;
 
 static void *
 w1(void *arg)



Home | Main Index | Thread Index | Old Index