aboutsummaryrefslogtreecommitdiff
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
parentf44c2ca5eacd2df76fc38be75f9ebb8f0ff555eb (diff)
downloadglibc-10f1519f6a0acdc1fc45e962fa5c13312cc7b624.zip
glibc-10f1519f6a0acdc1fc45e962fa5c13312cc7b624.tar.gz
glibc-10f1519f6a0acdc1fc45e962fa5c13312cc7b624.tar.bz2
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)
-rw-r--r--ChangeLog4
-rw-r--r--libio/tst-readline.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f2e0f1f..99462fa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
+
+ * libio/tst-readline.c (TIMEOUT): Define.
+
2018-10-22 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
diff --git a/libio/tst-readline.c b/libio/tst-readline.c
index 9322ef6..63f5227 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>