File: fix-spurious-failure.patch

package info (click to toggle)
gettext 0.23.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 168,104 kB
  • sloc: ansic: 532,579; sh: 68,252; perl: 28,011; makefile: 9,066; lisp: 3,184; yacc: 1,055; java: 615; cs: 589; cpp: 397; objc: 343; sed: 79; tcl: 63; xml: 40; pascal: 11; php: 7; awk: 7
file content (34 lines) | stat: -rw-r--r-- 831 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
From: Bruno Haible <bruno@clisp.org>
Subject: Fix spurious failure on Linux/SPARC
Last-Update: 2025-11-12

--- a/gettext-tools/gnulib-tests/test-pthread-cond.c
+++ b/gettext-tools/gnulib-tests/test-pthread-cond.c
@@ -110,11 +110,11 @@
   ASSERT (pthread_create (&thread, NULL, pthread_cond_wait_routine, &skipped)
           == 0);
 
-  /* Sleep for 2 seconds.  */
+  /* Sleep for 3 seconds.  */
   {
     struct timespec remaining;
 
-    remaining.tv_sec = 2;
+    remaining.tv_sec = 3;
     remaining.tv_nsec = 0;
 
     do
@@ -204,11 +204,11 @@
                           pthread_cond_timedwait_routine, &skipped)
           == 0);
 
-  /* Sleep for 2 seconds.  */
+  /* Sleep for 3 seconds.  */
   {
     struct timespec remaining;
 
-    remaining.tv_sec = 2;
+    remaining.tv_sec = 3;
     remaining.tv_nsec = 0;
 
     do