This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".

The branch, master has been updated
       via  c4d7c4210b12b77113bd12abb5867f3b8c14ace9 (commit)
      from  4a9ad19352a014938b54203f8ec4c7e1e48c104f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=c4d7c4210b12b77113bd12abb5867f3b8c14ace9


commit c4d7c4210b12b77113bd12abb5867f3b8c14ace9
Author: Paul Eggert <[email protected]>
Date:   Tue Sep 22 10:13:57 2020 -0700

    tests: port timeout test to Alpine
    
    Problem reported by Bruno Haible in:
    https://lists.gnu.org/r/grep-devel/2020-09/msg00080.html
    * tests/init.cfg (require_timeout_): Check that ‘timeout 0.01
    sleep 0.02’ works as expected, to avoid spurious test failure
    on Alpine.

diff --git a/tests/init.cfg b/tests/init.cfg
index f577d2b..0bd5aa2 100644
--- a/tests/init.cfg
+++ b/tests/init.cfg
@@ -43,6 +43,8 @@ require_timeout_()
     || skip_ your system lacks the timeout program
   returns_ 1 timeout 10s false \
     || skip_ your system has a non-GNU timeout program
+  returns_ 124 timeout 0.01 sleep 0.02 \
+    || skip_ "'timeout 0.01 sleep 0.02' did not time out"
 }
 
 require_pcre_()

-----------------------------------------------------------------------

Summary of changes:
 tests/init.cfg | 2 ++
 1 file changed, 2 insertions(+)


hooks/post-receive
-- 
grep

Reply via email to