summaryrefslogtreecommitdiff
path: root/posix
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2018-10-16 17:45:02 +0200
committerAndreas Schwab <schwab@suse.de>2018-10-17 09:34:13 +0200
commitce5a7de6cd1479a1e78fda0db023bd4effa072a4 (patch)
tree546309c1ea2b6be9f7029736585d20e9811bb3f5 /posix
parentf0da0bcf8b270d08c172df42dfc3f2b9a9240973 (diff)
downloadglibc-ce5a7de6cd1479a1e78fda0db023bd4effa072a4.tar.gz
Don't reduce test timeout to less than default
This removes all overrides of TIMEOUT that are less than or equal to the default timeout.
Diffstat (limited to 'posix')
-rw-r--r--posix/tst-chmod.c5
-rw-r--r--posix/tst-getaddrinfo4.c1
-rw-r--r--posix/tst-getaddrinfo5.c1
-rw-r--r--posix/tst-preadwrite-common.c3
-rw-r--r--posix/tst-regex2.c1
-rw-r--r--posix/tst-waitid.c2
6 files changed, 0 insertions, 13 deletions
diff --git a/posix/tst-chmod.c b/posix/tst-chmod.c
index 611a007822..a8cb3e9f43 100644
--- a/posix/tst-chmod.c
+++ b/posix/tst-chmod.c
@@ -369,9 +369,4 @@ do_test (int argc, char *argv[])
return result;
}
-
-/* We need a few seconds since we have a few sleeps in the code. */
-#define TIMEOUT 20
-
-
#include "../test-skeleton.c"
diff --git a/posix/tst-getaddrinfo4.c b/posix/tst-getaddrinfo4.c
index dc9e423448..3784f27e1a 100644
--- a/posix/tst-getaddrinfo4.c
+++ b/posix/tst-getaddrinfo4.c
@@ -64,5 +64,4 @@ do_test (void)
}
#define TEST_FUNCTION do_test ()
-#define TIMEOUT 10
#include "../test-skeleton.c"
diff --git a/posix/tst-getaddrinfo5.c b/posix/tst-getaddrinfo5.c
index f36121e87c..60794b715a 100644
--- a/posix/tst-getaddrinfo5.c
+++ b/posix/tst-getaddrinfo5.c
@@ -66,5 +66,4 @@ test (void)
}
#define TEST_FUNCTION test ()
-#define TIMEOUT 10
#include "../test-skeleton.c"
diff --git a/posix/tst-preadwrite-common.c b/posix/tst-preadwrite-common.c
index 9e7f020ff0..5e2b2b6ae9 100644
--- a/posix/tst-preadwrite-common.c
+++ b/posix/tst-preadwrite-common.c
@@ -27,9 +27,6 @@ static void do_prepare (void);
static int do_test (void);
#define TEST_FUNCTION do_test ()
-/* We might need a bit longer timeout. */
-#define TIMEOUT 20 /* sec */
-
/* This defines the `main' function and some more. */
#include <test-skeleton.c>
diff --git a/posix/tst-regex2.c b/posix/tst-regex2.c
index 5e624cb5c2..6fb532e784 100644
--- a/posix/tst-regex2.c
+++ b/posix/tst-regex2.c
@@ -244,6 +244,5 @@ do_test (void)
return 0;
}
-#define TIMEOUT 20
#define TEST_FUNCTION do_test ()
#include "../test-skeleton.c"
diff --git a/posix/tst-waitid.c b/posix/tst-waitid.c
index 4af8761afc..5a8e9498f6 100644
--- a/posix/tst-waitid.c
+++ b/posix/tst-waitid.c
@@ -23,8 +23,6 @@
#include <sys/wait.h>
#include <signal.h>
-#define TIMEOUT 15
-
static void
test_child (void)
{