]> sourceware.org Git - lvm2.git/commitdiff
tests: allow-mixed-block-sizes skip with older losetup
authorDavid Teigland <teigland@redhat.com>
Wed, 11 Sep 2019 18:52:51 +0000 (13:52 -0500)
committerDavid Teigland <teigland@redhat.com>
Wed, 11 Sep 2019 19:01:55 +0000 (14:01 -0500)
test/shell/allow-mixed-block-sizes.sh

index 18032561f316336f5271b8e6a2c5ef1510c1ad67..2f0b3a0656a0834a444a249c5cf67f97e71a2c07 100644 (file)
@@ -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)
This page took 0.035246 seconds and 5 git commands to generate.