From 69b7c00a77e09d23d57eef9d35afb1dc4663478c Mon Sep 17 00:00:00 2001 From: David Teigland Date: Wed, 11 Sep 2019 13:52:51 -0500 Subject: [PATCH] tests: allow-mixed-block-sizes skip with older losetup --- test/shell/allow-mixed-block-sizes.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/shell/allow-mixed-block-sizes.sh b/test/shell/allow-mixed-block-sizes.sh index 18032561f..2f0b3a065 100644 --- a/test/shell/allow-mixed-block-sizes.sh +++ b/test/shell/allow-mixed-block-sizes.sh @@ -14,6 +14,8 @@ SKIP_WITH_LVMPOLLD=1 . lib/inittest +losetup -h | grep sector-size || skip + dd if=/dev/zero of=loopa bs=$((1024*1024)) count=2 2> /dev/null dd if=/dev/zero of=loopb bs=$((1024*1024)) count=2 2> /dev/null LOOP1=$(losetup -f loopa --sector-size 4096 --show) -- 2.43.5