From 8db67d2aff7757d022f7d339451aeb93b0374311 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Wed, 21 May 2014 16:48:06 +0200 Subject: [PATCH] tests: skips on unsupported systems --- test/shell/profiles-thin.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/shell/profiles-thin.sh b/test/shell/profiles-thin.sh index 105652822..25c12eb43 100644 --- a/test/shell/profiles-thin.sh +++ b/test/shell/profiles-thin.sh @@ -17,10 +17,13 @@ DEV_SIZE=32 +# check we have thinp support compiled in +aux have_thin 1 0 0 || skip + aux prepare_profiles "thin-performance" # Create scsi debug dev with sector size of 4096B and 1MiB optimal_io_size -aux prepare_scsi_debug_dev $DEV_SIZE sector_size=4096 opt_blks=256 +aux prepare_scsi_debug_dev $DEV_SIZE sector_size=4096 opt_blks=256 || skip aux prepare_pvs 1 $DEV_SIZE vgcreate $vg "$dev1"