summaryrefslogtreecommitdiff
path: root/tests/ts/blkid
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2009-03-16 14:03:03 +0100
committerKarel Zak <kzak@redhat.com>2009-03-16 14:03:03 +0100
commit0cd0dbd2493f70bc8159bc1b32ddce767a33ebd1 (patch)
treecff34adea8cb46bd1a8f9a497bef2bb3a07856b4 /tests/ts/blkid
parent07dfde722bdb01109938bdedaf3f12d928cf0fc9 (diff)
downloadutil-linux-old-0cd0dbd2493f70bc8159bc1b32ddce767a33ebd1.tar.gz
tests: disable blkid tests when blkid(8) is not compiled
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/ts/blkid')
-rwxr-xr-xtests/ts/blkid/low-probe5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ts/blkid/low-probe b/tests/ts/blkid/low-probe
index 4018c81d..38afe525 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