diff options
author | Karel Zak | 2011-01-25 16:36:28 +0100 |
---|---|---|
committer | Karel Zak | 2011-01-25 16:36:28 +0100 |
commit | 6c2bbad199458562488fc249c10a6fa371d476f6 (patch) | |
tree | 799441c4dc4e41078f06dd7385ce272a73974e5f /tests/ts/libmount/context | |
parent | libmount: don't compile tests by default (diff) | |
download | kernel-qcow2-util-linux-6c2bbad199458562488fc249c10a6fa371d476f6.tar.gz kernel-qcow2-util-linux-6c2bbad199458562488fc249c10a6fa371d476f6.tar.xz kernel-qcow2-util-linux-6c2bbad199458562488fc249c10a6fa371d476f6.zip |
tests: skip non-compiled libmount tests
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/ts/libmount/context')
-rwxr-xr-x | tests/ts/libmount/context | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ts/libmount/context b/tests/ts/libmount/context index 536ab1b50..4248f3132 100755 --- a/tests/ts/libmount/context +++ b/tests/ts/libmount/context @@ -14,6 +14,8 @@ LABEL=libmount-test UUID=$(uuidgen) MOUNTPOINT="$TS_MOUNTPOINT" +[ -x $TESTPROG ] || ts_skip "test not compiled" + modprobe --dry-run --quiet scsi_debug [ "$?" == 0 ] || ts_skip "missing scsi_debug module" |