summaryrefslogblamecommitdiff
path: root/harmony/libevent/dont-test-fallback.patch
blob: 42a40094a4ca61a0c2e7e2dbc814f6fc94577a95 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                                                                                                    
The libevent fallback monotonic clock is broken, but it should never be used
anyway on musl, so disable testing it.

(the brokenness involves gettimeofday, you don't want to know)

--- libevent-2.1.8-stable/test/regress_util.c.old	2017-01-15 03:04:34.000000000 -0600
+++ libevent-2.1.8-stable/test/regress_util.c	2017-09-14 16:25:58.887687965 -0500
@@ -1482,7 +1482,7 @@
 	{ "monotonic_res_fallback", test_evutil_monotonic_res, TT_OFF_BY_DEFAULT, &basic_setup, (void*)"fallback" },
 	{ "monotonic_prc", test_evutil_monotonic_prc, 0, &basic_setup, (void*)"" },
 	{ "monotonic_prc_precise", test_evutil_monotonic_prc, 0, &basic_setup, (void*)"precise" },
-	{ "monotonic_prc_fallback", test_evutil_monotonic_prc, 0, &basic_setup, (void*)"fallback" },
+	/* { "monotonic_prc_fallback", test_evutil_monotonic_prc, 0, &basic_setup, (void*)"fallback" }, */
 	{ "date_rfc1123", test_evutil_date_rfc1123, 0, NULL, NULL },
 	END_OF_TESTCASES,
 };