diff options
author | Karel Zak <kzak@redhat.com> | 2009-03-16 14:03:03 +0100 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2009-03-16 14:03:03 +0100 |
commit | 0cd0dbd2493f70bc8159bc1b32ddce767a33ebd1 (patch) | |
tree | cff34adea8cb46bd1a8f9a497bef2bb3a07856b4 /tests/ts/blkid | |
parent | 07dfde722bdb01109938bdedaf3f12d928cf0fc9 (diff) | |
download | util-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-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 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 |