]> git.ipfire.org Git - thirdparty/glibc.git/commit
Increase timeout of libio/tst-readline
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Tue, 9 Oct 2018 13:31:28 +0000 (14:31 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 19 Nov 2018 13:21:24 +0000 (14:21 +0100)
commit10f1519f6a0acdc1fc45e962fa5c13312cc7b624
tree1e3504dc41c7778cb921e45bae939a751fde0dae
parentf44c2ca5eacd2df76fc38be75f9ebb8f0ff555eb
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)
ChangeLog
libio/tst-readline.c