summaryrefslogtreecommitdiffstats
path: root/tests/run.sh
diff options
context:
space:
mode:
authorKarel Zak2019-03-05 11:06:41 +0100
committerKarel Zak2019-03-05 11:06:41 +0100
commit7c90efa384cbb2ace873e2b90e8cc396a1719535 (patch)
tree72ee38753d663a376938b8898455ece65379f660 /tests/run.sh
parenttests: add missing TS_CMD_UMOUNT check (diff)
downloadkernel-qcow2-util-linux-7c90efa384cbb2ace873e2b90e8cc396a1719535.tar.gz
kernel-qcow2-util-linux-7c90efa384cbb2ace873e2b90e8cc396a1719535.tar.xz
kernel-qcow2-util-linux-7c90efa384cbb2ace873e2b90e8cc396a1719535.zip
tests: add --noskip-commands
The default is SKIP missing commands on --use-system-commands, but with --noskip-commands the test will FAIL. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/run.sh')
-rwxr-xr-xtests/run.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/run.sh b/tests/run.sh
index 881148a06..2a7133149 100755
--- a/tests/run.sh
+++ b/tests/run.sh
@@ -65,6 +65,7 @@ while [ -n "$1" ]; do
--show-diff |\
--verbose |\
--skip-loopdevs |\
+ --noskip-commands |\
--parsable)
# these options are simply forwarded to the test scripts
OPTS="$OPTS $1"
@@ -113,6 +114,7 @@ while [ -n "$1" ]; do
echo " --show-diff show diff from failed tests"
echo " --nonroot ignore test suite if user is root"
echo " --use-system-commands use PATH rather than builddir"
+ echo " --noskip-commands fail on missing commands"
echo " --srcdir=<path> autotools top source directory"
echo " --builddir=<path> autotools top build directory"
echo " --parallel=<num> number of parallel test jobs, default: num cpus"