This is an automated email from the git hooks/post-receive script. sthibault pushed a commit to branch glibc-2.26 in repository glibc.
commit 3c117af30046021d90cabcceb0d23710db8ee4dc Author: Samuel Thibault <[email protected]> Date: Sun Sep 10 12:43:09 2017 +0000 patches/hurd-i386/git-tst-udp-timeout.diff: New patch --- debian/changelog | 4 ++- debian/patches/hurd-i386/git-tst-udp-timeout.diff | 33 +++++++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 37 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 1ee96f2..057d218 100644 --- a/debian/changelog +++ b/debian/changelog @@ -70,9 +70,11 @@ glibc (2.26-0experimental0) UNRELEASED; urgency=medium - patches/hurd-i386/git-rtld-strtoul_internal.diff: New patch. - patches/hurd-i386/git-clone.diff: New patch. - patches/hurd-i386/git-gethostname.diff: New patch. - - patches/hurd-i386/cvs-libpthread-sigstate.diff: Remove unused merged patch. + - patches/hurd-i386/cvs-libpthread-sigstate.diff: Remove unused merged + patch. - patches/hurd-i386/cvs-send-recv-posix.diff: Remove unused merged patch. - patches/hurd-i386/cvs-truncate64.diff: Remove unused merged patch. + - patches/hurd-i386/git-tst-udp-timeout.diff: New patch. - testsuite-xfail-debian.mk: Update with new tests failing on hurd-i386. -- Adam Conrad <[email protected]> Sat, 02 Sep 2017 12:15:10 -0600 diff --git a/debian/patches/hurd-i386/git-tst-udp-timeout.diff b/debian/patches/hurd-i386/git-tst-udp-timeout.diff new file mode 100644 index 0000000..28463d7 --- /dev/null +++ b/debian/patches/hurd-i386/git-tst-udp-timeout.diff @@ -0,0 +1,33 @@ +commit 00c3da43ace363315fb9e70a6d4696de0630f6cf +Author: Samuel Thibault <[email protected]> +Date: Sun Sep 10 14:37:28 2017 +0200 + + sunrpc/tst-udp-timeout: Fix timeout value + + 2.3 is not representable with double, and thus leads to rounding issues if + the clock is not very precise and the measured delay is then exactly 2.3. + + * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5 + seconds. + +diff --git a/sunrpc/tst-udp-timeout.c b/sunrpc/tst-udp-timeout.c +index db9943a03e..7ceba98432 100644 +--- a/sunrpc/tst-udp-timeout.c ++++ b/sunrpc/tst-udp-timeout.c +@@ -352,13 +352,13 @@ test_udp_server (int port) + .a = 170, .b = 40, .timeout_ms = 3000, + .garbage_packets = with_garbage * 30 + }, +- (struct timeval) { 2, 300 * 1000 }); ++ (struct timeval) { 2, 500 * 1000 }); + after = get_ticks (); + if (test_verbose) +- printf ("info: test_udp_server: 2.3 second timeout took %f seconds" ++ printf ("info: test_udp_server: 2.5 second timeout took %f seconds" + " (garbage %d)\n", + after - before, with_garbage); +- TEST_VERIFY (2.3 <= after - before); ++ TEST_VERIFY (2.5 <= after - before); + TEST_VERIFY (after - before < 3.0); + test_call_flush (clnt); + } diff --git a/debian/patches/series b/debian/patches/series index 31280e1..7b3e5e5 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -153,6 +153,7 @@ hurd-i386/git-i386-implies-x86.diff hurd-i386/git-rtld-strtoul_internal.diff hurd-i386/git-clone.diff hurd-i386/git-gethostname.diff +hurd-i386/git-tst-udp-timeout.diff i386/local-biarch.diff i386/unsubmitted-quiet-ldconfig.diff -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git

