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-Tag: v2.15-rc1~22 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0cd0dbd2493f70bc8159bc1b32ddce767a33ebd1;p=thirdparty%2Futil-linux.git 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 4018c81d30..38afe52557 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