Module Name: src
Committed By: pgoyette
Date: Sun Oct 24 13:16:12 UTC 2010
Modified Files:
src/tests/dev/sysmon: t_swwdog.c
Log Message:
Due to timing discrepancies desribed in PR kern/43997, tickle the
watchdog just a little bit sooner. This maintains the spirit of the
test while avoiding the actual bug. This can be reverted once (if)
the PR is fixed.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/dev/sysmon/t_swwdog.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/dev/sysmon/t_swwdog.c
diff -u src/tests/dev/sysmon/t_swwdog.c:1.3 src/tests/dev/sysmon/t_swwdog.c:1.4
--- src/tests/dev/sysmon/t_swwdog.c:1.3 Sun Oct 24 13:11:41 2010
+++ src/tests/dev/sysmon/t_swwdog.c Sun Oct 24 13:16:12 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: t_swwdog.c,v 1.3 2010/10/24 13:11:41 pgoyette Exp $ */
+/* $NetBSD: t_swwdog.c,v 1.4 2010/10/24 13:16:12 pgoyette Exp $ */
/*
* Copyright (c) 2010 Antti Kantee. All Rights Reserved.
@@ -105,7 +105,7 @@
if (rump_sys_ioctl(fd, WDOGIOC_SMODE, &wm) == -1)
atf_tc_fail_errno("failed to set tickle");
- usleep(500000);
+ usleep(400000);
if (max == 1)
rump_sys_ioctl(fd, WDOGIOC_TICKLE);
else {