summaryrefslogtreecommitdiff
path: root/libio
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2018-10-09 14:31:28 +0100
committerFlorian Weimer <fweimer@redhat.com>2018-11-19 14:21:24 +0100
commit10f1519f6a0acdc1fc45e962fa5c13312cc7b624 (patch)
tree1e3504dc41c7778cb921e45bae939a751fde0dae /libio
parentf44c2ca5eacd2df76fc38be75f9ebb8f0ff555eb (diff)
downloadglibc-10f1519f6a0acdc1fc45e962fa5c13312cc7b624.tar.gz
Increase timeout of libio/tst-readline
Increase timeout from the default 20s to 100s. This test makes close to 20 million syscalls with distribution: 12327675 read 4143204 lseek 929475 close 929471 openat 92817 fstat 1431 write ... The default timeout assumes each can finish in 1us on average which is not true on slow machines. Reviewed-by: Carlos O'Donell <carlos@redhat.com> * libio/tst-readline.c (TIMEOUT): Define. (cherry picked from commit ed643089cd3251038863d32e67ec47b94cd557f3)
Diffstat (limited to 'libio')
-rw-r--r--libio/tst-readline.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libio/tst-readline.c b/libio/tst-readline.c
index 9322ef68da..63f5227760 100644
--- a/libio/tst-readline.c
+++ b/libio/tst-readline.c
@@ -232,5 +232,6 @@ do_test (void)
return 0;
}
+#define TIMEOUT 100
#define PREPARE prepare
#include <support/test-driver.c>