]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: mark build-in paths test as optional
authorKarel Zak <kzak@redhat.com>
Fri, 12 Aug 2016 08:06:59 +0000 (10:06 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 12 Aug 2016 08:13:22 +0000 (10:13 +0200)
The test makes sense only if you know what are you doing (see
 #ifdef(s) in the include/pathnames.h.

Signed-off-by: Karel Zak <kzak@redhat.com>
tests/ts/paths/built-in

index f866514c7f5b8ea868d33a7a9a6958a70b4266b8..bf55c101399ce87dc9d9a16003bdfb4c16741a22 100755 (executable)
 TS_TOPDIR="${0%/*}/../.."
 TS_DESC="built-in"
 
+# Don't execute this test by default, --force required
+TS_OPTIONAL="yes"
+
 . $TS_TOPDIR/functions.sh
 ts_init "$*"
 
+ts_check_test_command "$TS_HELPER_PATHS"
+
 $TS_HELPER_PATHS &> $TS_OUTPUT
 
 ts_finalize