From: Karel Zak Date: Mon, 16 Mar 2009 13:03:03 +0000 (+0100) Subject: tests: disable blkid tests when blkid(8) is not compiled X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0cd0dbd2493f70bc8159bc1b32ddce767a33ebd1;p=util-linux tests: disable blkid tests when blkid(8) is not compiled Signed-off-by: Karel Zak --- 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