From: Szabolcs Nagy Date: Tue, 9 Oct 2018 13:31:28 +0000 (+0100) Subject: Increase timeout of libio/tst-readline X-Git-Tag: glibc-2.29~410 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed643089cd3251038863d32e67ec47b94cd557f3;p=thirdparty%2Fglibc.git 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 * libio/tst-readline.c (TIMEOUT): Define. --- diff --git a/ChangeLog b/ChangeLog index cadf8613f35..2b19d0e147e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2018-10-09 Szabolcs Nagy + + * libio/tst-readline.c (TIMEOUT): Define. + 2018-10-08 Paul Eggert mktime fix for Gnulib + coreutils diff --git a/libio/tst-readline.c b/libio/tst-readline.c index 9322ef68da5..63f5227760d 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