Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/atf/dist/atf-sh Wait 10 seconds instead of 1 be...



details:   https://anonhg.NetBSD.org/src/rev/881991591225
branches:  trunk
changeset: 336269:881991591225
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Feb 23 08:48:18 2015 +0000

description:
Wait 10 seconds instead of 1 before killing the helper - otherwise on slow
machines it might not have gotten around to execute the first command at
all (and since it next waits for 42 seconds, 10 seconds is safe).

diffstat:

 external/bsd/atf/dist/atf-sh/atf_check_test.sh |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r ec965ca61660 -r 881991591225 external/bsd/atf/dist/atf-sh/atf_check_test.sh
--- a/external/bsd/atf/dist/atf-sh/atf_check_test.sh    Mon Feb 23 07:17:37 2015 +0000
+++ b/external/bsd/atf/dist/atf-sh/atf_check_test.sh    Mon Feb 23 08:48:18 2015 +0000
@@ -174,7 +174,7 @@
     "$(atf_get_srcdir)/misc_helpers" -s "$(atf_get_srcdir)" atf_check_timeout \
         >out 2>err &
     pid="${!}"
-    sleep 1
+    sleep 10
     kill "${pid}"
 
     grep 'Executing command.*true' out \



Home | Main Index | Thread Index | Old Index