On 04/12/2010 12:25 AM, Stefano Lattarini wrote:
Apparently, the `require_timeout_' subroutine in `tests/init.cfg'
fails to recognize my timout program because it doesn't support the
`--version' option:

Good catch, I'm pushing the patch.

commit 3d452ac165ad81982e93c51cafb3bcf8d7c61fc5
Author: Stefano Lattarini <[email protected]>
Date:   Mon Apr 12 07:26:43 2010 +0200

    tests: accept the Debian timeout program

    * tests/init.cfg: test timeout with `timeout 10s true'

diff --git a/tests/init.cfg b/tests/init.cfg
index 357b374..baa2b40 100644
--- a/tests/init.cfg
+++ b/tests/init.cfg
@@ -39,7 +39,7 @@

 require_timeout_()
 {
-  ( timeout --version ) > /dev/null 2>&1 \
+  ( timeout 10s true ) > /dev/null 2>&1 \
     || skip_ your system lacks the timeout program
 }

the test `sjis-mb' gets skipped with the message "SJIS locale not
found", but that's another story I guess

That's kind of expected to be skipped except on the machines of developers and Japanese people.

Paolo


Reply via email to