diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-12 04:59:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-12 04:59:59 +0000 |
commit | 0461c601575b69c90ff9011c8c5a9a76dbba59fd (patch) | |
tree | 4c81f0f42265c032222786aab3e49f9f8d813d2f /debian/patches/debug_testpoll_failure.patch | |
parent | Merging upstream version 1.7.5. (diff) | |
download | apr-debian.tar.xz apr-debian.zip |
Adding debian version 1.7.5-1.debian/1.7.5-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/debug_testpoll_failure.patch')
-rw-r--r-- | debian/patches/debug_testpoll_failure.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/patches/debug_testpoll_failure.patch b/debian/patches/debug_testpoll_failure.patch index 721e030..a555063 100644 --- a/debian/patches/debug_testpoll_failure.patch +++ b/debian/patches/debug_testpoll_failure.patch @@ -4,8 +4,8 @@ # add some debug output --- apr.orig/test/testpoll.c +++ apr/test/testpoll.c -@@ -908,6 +908,9 @@ static void justsleep(abts_case *tc, voi - rv = apr_pollcb_poll(pollcb, apr_time_from_msec(200), NULL, NULL); +@@ -924,6 +924,9 @@ static void justsleep(abts_case *tc, voi + rv = apr_pollcb_poll(pollcb, JUSTSLEEP_DELAY, NULL, NULL); t2 = apr_time_now(); ABTS_INT_EQUAL(tc, 1, APR_STATUS_IS_TIMEUP(rv)); + if ((t2 - t1) <= apr_time_from_msec(100)) @@ -13,4 +13,4 @@ + i, (long)t1, (long)t2, rv); ABTS_ASSERT(tc, "apr_pollcb_poll() didn't sleep", - (t2 - t1) > apr_time_from_msec(100)); + JUSTSLEEP_ENOUGH(t1, t2)); |