diff options
author | Karel Zak | 2009-03-16 14:03:03 +0100 |
---|---|---|
committer | Karel Zak | 2009-03-16 14:03:03 +0100 |
commit | 0cd0dbd2493f70bc8159bc1b32ddce767a33ebd1 (patch) | |
tree | cff34adea8cb46bd1a8f9a497bef2bb3a07856b4 /tests | |
parent | lib: fsprobe - fix gcc warning (diff) | |
download | kernel-qcow2-util-linux-0cd0dbd2493f70bc8159bc1b32ddce767a33ebd1.tar.gz kernel-qcow2-util-linux-0cd0dbd2493f70bc8159bc1b32ddce767a33ebd1.tar.xz kernel-qcow2-util-linux-0cd0dbd2493f70bc8159bc1b32ddce767a33ebd1.zip |
tests: disable blkid tests when blkid(8) is not compiled
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/ts/blkid/low-probe | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ts/blkid/low-probe b/tests/ts/blkid/low-probe index 4018c81d3..38afe5255 100755 --- a/tests/ts/blkid/low-probe +++ b/tests/ts/blkid/low-probe @@ -22,6 +22,11 @@ TS_DESC="low-probe" . $TS_TOPDIR/functions.sh ts_init "$*" + +if [ ! -x "$TS_CMD_BLKID" ]; then + ts_skip "blkid disabled" +fi + mkdir -p $TS_OUTDIR/images for img in $(ls $TS_SELF/images/*.img.bz2 | sort); do |