Module Name: src Committed By: jmmv Date: Sun Mar 17 05:47:48 UTC 2013
Modified Files: src/tests/lib/libc/gen: t_sleep.c Log Message: Do not special-case qemu when expecting the failure due to PR kern/43997. I am sporadically observing this in my real machine as well. It's harder to trigger, but it happens. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/tests/lib/libc/gen/t_sleep.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/lib/libc/gen/t_sleep.c diff -u src/tests/lib/libc/gen/t_sleep.c:1.5 src/tests/lib/libc/gen/t_sleep.c:1.6 --- src/tests/lib/libc/gen/t_sleep.c:1.5 Fri Nov 9 20:13:24 2012 +++ src/tests/lib/libc/gen/t_sleep.c Sun Mar 17 05:47:48 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: t_sleep.c,v 1.5 2012/11/09 20:13:24 pgoyette Exp $ */ +/* $NetBSD: t_sleep.c,v 1.6 2013/03/17 05:47:48 jmmv Exp $ */ /*- * Copyright (c) 2006 Frank Kardel @@ -301,8 +301,7 @@ sleeptest(int (*test)(struct timespec *, delta3 *= round; if (delta3 > FUZZ || delta3 < -FUZZ) { - if (!sim_remain && - system("cpuctl identify 0 | grep -q QEMU") == 0) + if (!sim_remain) atf_tc_expect_fail("Long reschedule latency " "due to PR kern/43997");