Module Name: src
Committed By: pooka
Date: Thu Sep 17 13:12:51 UTC 2009
Modified Files:
src/tests/fs/ffs: t_renamerace.c
Log Message:
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)
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/tests/fs/ffs/t_renamerace.c
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/ffs/t_renamerace.c
diff -u src/tests/fs/ffs/t_renamerace.c:1.7 src/tests/fs/ffs/t_renamerace.c:1.8
--- src/tests/fs/ffs/t_renamerace.c:1.7 Mon Aug 3 14:25:24 2009
+++ src/tests/fs/ffs/t_renamerace.c Thu Sep 17 13:12:51 2009
@@ -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)