1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-27 18:04:20 +03:00

tests: allow-mixed-block-sizes skip with older losetup

(cherry picked from commit 69b7c00a77e09d23d57eef9d35afb1dc4663478c)
This commit is contained in:
David Teigland 2019-09-11 13:52:51 -05:00 committed by Marian Csontos
parent 9fcda0d975
commit 2327f3997b

View 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)