summaryrefslogtreecommitdiff
path: root/tests/misc/tty-eof
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-05-10 16:20:38 +0200
committerJim Meyering <meyering@redhat.com>2012-05-10 17:09:42 +0200
commit3a696dee7232dedbb8c7031d2547af20bb29645f (patch)
tree4302a831101e062343005e1e1c0bf960988a184b /tests/misc/tty-eof
parente12107148944a6c03f5767a76b6acf5714bae7df (diff)
downloadcoreutils-3a696dee7232dedbb8c7031d2547af20bb29645f.tar.xz
tests: misc/tty-eof: increase timeout to avoid unwarranted failure
* tests/misc/tty-eof: Increase timeout from 1s to 10s, to avoid unwarranted failure under heavy load. * tests/Makefile.am (TESTS): Move misc/tty-eof "up" to nearer the beginning of the list (from near the middle) so that it is started earlier in parallel test runs. Otherwise, it would frequently be among the last two tests to complete.
Diffstat (limited to 'tests/misc/tty-eof')
-rwxr-xr-xtests/misc/tty-eof2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/tty-eof b/tests/misc/tty-eof
index 9e866139c..e9eed2eac 100755
--- a/tests/misc/tty-eof
+++ b/tests/misc/tty-eof
@@ -75,7 +75,7 @@ $@
$exp->expect (0, '-re', "^a b\\r?\$");
my $found = $exp->expect (1, '-re', "^.+\$");
$found and warn "F: $found: " . $exp->exp_match () . "\n";
- $exp->expect(1, 'eof');
+ $exp->expect(10, 'eof');
# Expect no output from cut, since we gave it no input.
defined $found || $cmd =~ /^cut/
or (warn "$ME: $cmd didn't produce expected output\n"),