[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[glibc] 02/02: patches/hurd-i386/git-tst-udp-nonblocking.diff: New patch



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 9d95fbba25ae0008602a998a05f571fc09dec073
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Sep 10 19:14:03 2017 +0000

    patches/hurd-i386/git-tst-udp-nonblocking.diff: New patch
---
 debian/changelog                                   |  1 +
 .../patches/hurd-i386/git-tst-udp-nonblocking.diff | 38 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 3 files changed, 40 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 5a78ab7..03b9fed 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -75,6 +75,7 @@ glibc (2.26-0experimental0) UNRELEASED; urgency=medium
     - 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.
+    - patches/hurd-i386/git-tst-udp-nonblocking.diff: New patch.
     - patches/hurd-i386/submitted-resolv.diff: New patch.
     - patches/hurd-i386/unsubmitted-exp-hidden-jump.diff: New patch.
     - testsuite-xfail-debian.mk: Update with new tests failing on hurd-i386.
diff --git a/debian/patches/hurd-i386/git-tst-udp-nonblocking.diff b/debian/patches/hurd-i386/git-tst-udp-nonblocking.diff
new file mode 100644
index 0000000..dbf9983
--- /dev/null
+++ b/debian/patches/hurd-i386/git-tst-udp-nonblocking.diff
@@ -0,0 +1,38 @@
+commit 3bdfd9fbed7165e75624845a3dab13f42b899096
+Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
+Date:   Sun Sep 10 21:09:28 2017 +0200
+
+    sunrpc/tst-udp-nonblocking: Fix timeout value
+    
+    This a follow-up to 00c3da4 ('sunrpc/tst-udp-timeout: Fix timeout value')
+    
+    * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
+    seconds.
+
+diff --git a/sunrpc/tst-udp-nonblocking.c b/sunrpc/tst-udp-nonblocking.c
+index c6a68498f7..46237a2f68 100644
+--- a/sunrpc/tst-udp-nonblocking.c
++++ b/sunrpc/tst-udp-nonblocking.c
+@@ -257,9 +257,9 @@ do_test (void)
+         /* Shorter timeout to prefer this server.  These timeouts must
+            be much shorter than the 5-second per-response timeout
+            configured with clntudp_create.  */
+-        query.timeout_ms = 700;
++        query.timeout_ms = 750;
+       else
+-        query.timeout_ms = 1400;
++        query.timeout_ms = 1500;
+       struct test_response response = { 0 };
+       /* NB: Do not check the return value.  The server reply will
+          prove that the call worked.  */
+@@ -289,8 +289,8 @@ do_test (void)
+   if (test_verbose)
+     printf ("info: send/receive took %f seconds\n",
+             after_pings - before_pings);
+-  /* Expected timeout is 0.7 seconds.  */
+-  TEST_VERIFY (0.7 <= after_pings - before_pings);
++  /* Expected timeout is 0.75 seconds.  */
++  TEST_VERIFY (0.75 <= after_pings - before_pings);
+   TEST_VERIFY (after_pings - before_pings < 1.2);
+ 
+   uint32_t xid;
diff --git a/debian/patches/series b/debian/patches/series
index 0520a20..03e70b3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -154,6 +154,7 @@ hurd-i386/git-rtld-strtoul_internal.diff
 hurd-i386/git-clone.diff
 hurd-i386/git-gethostname.diff
 hurd-i386/git-tst-udp-timeout.diff
+hurd-i386/git-tst-udp-nonblocking.diff
 hurd-i386/submitted-resolv.diff
 hurd-i386/unsubmitted-exp-hidden-jump.diff
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git


Reply to: