]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: start script/race test only when --force specified
authorKarel Zak <kzak@redhat.com>
Thu, 19 Mar 2015 11:06:35 +0000 (12:06 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 19 Mar 2015 11:06:35 +0000 (12:06 +0100)
The test generates 1000 processes and it seems too invasive for
test/build machines and containers.

Signed-off-by: Karel Zak <kzak@redhat.com>
tests/ts/script/race

index c947402360a3e897cd0731947683092d2919e285..a1e35b8f25dd691a61cf08bd66e1805d7eaff9f3 100755 (executable)
@@ -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 "$*"