[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Some tests with timeout erroneously skipped on Debian
From: |
Paolo Bonzini |
Subject: |
Re: Some tests with timeout erroneously skipped on Debian |
Date: |
Mon, 12 Apr 2010 07:43:55 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc12 Lightning/1.0b2pre Thunderbird/3.0.3 |
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 <address@hidden>
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