Revert "Revert "tests: start script/race test only when --force specified""
PATCH 1/1 Revert "Revert "tests: start script/race test only when --force specified""
This reverts commit bd84241de3f20afef5446ab3f3bbb0245a520faa.
Addresses: https://github.com/karelzak/util-linux/issues/296
---
The problem also occurs on v2.27-rc2, so it should probably be backported.
tests/ts/script/race | 3 +++ 1 file changed, 3 insertions(+)
tests/ts/script/race +3 -0
@@ -19,6 +19,9 @@ TS_TOPDIR="${0%/*}/../.." TS_DESC="race conditions" +# Don't execute this test by default, --force required +TS_OPTIONAL="yes" + . $TS_TOPDIR/functions.sh ts_init "$*"
Signature · 1 line
2.6.2
Karel Zak
maintainertests/ts/script/race line 23
Quoted 2 lines · Matthias Brugger
tests/ts/script/race +2
-0+# Don't execute this test by default, --force required +TS_OPTIONAL="yes"
I have marked the test by
TS_KNOWN_FAIL="yes
it seems better than disable the test.
Karel
Signature · 2 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com
Quoted 9 lines · Karel Zak
tests/ts/script/race line 23
Quoted 2 lines · Matthias Brugger
tests/ts/script/race +2
-0+# Don't execute this test by default, --force required +TS_OPTIONAL="yes"I have marked the test by
TS_KNOWN_FAIL="yes
it seems better than disable the test.
While we are at it, IMO we should finally disable libmount/lock too (TS_OPTIONAL).
It can be very slow and often fails. Last week I was waiting 2 hours for a failure on qemu/ppc. The whole system was unusable during the test. Don't know if this can be fixed in a better way.
Since I've never seen failures on travis we could force this test there.
cu,
Rudi
Karel Zak
maintainerQuoted 7 lines · Ruediger Meier
Quoted 6 lines · Karel Zak
tests/ts/script/race line 23
Quoted 2 lines · Matthias Brugger
tests/ts/script/race +2
-0+# Don't execute this test by default, --force required +TS_OPTIONAL="yes"I have marked the test by
Quoted 6 lines
Quoted 3 lines
TS_KNOWN_FAIL="yes
it seems better than disable the test.
While we are at it, IMO we should finally disable libmount/lock too (
TS_OPTIONAL).
Done. It's probably to aggressive...
Karel
Signature · 2 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com