All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* master - tests: allow-mixed-block-sizes skip with older losetup
@ 2019-09-11 19:02 David Teigland
  0 siblings, 0 replies; only message in thread
From: David Teigland @ 2019-09-11 19:02 UTC (permalink / raw
  To: lvm-devel

Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=69b7c00a77e09d23d57eef9d35afb1dc4663478c
Commit:        69b7c00a77e09d23d57eef9d35afb1dc4663478c
Parent:        715d2c778fb8f7b705a5c222e02638cdf845ea5b
Author:        David Teigland <teigland@redhat.com>
AuthorDate:    Wed Sep 11 13:52:51 2019 -0500
Committer:     David Teigland <teigland@redhat.com>
CommitterDate: Wed Sep 11 14:01:55 2019 -0500

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

---
 test/shell/allow-mixed-block-sizes.sh |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/test/shell/allow-mixed-block-sizes.sh b/test/shell/allow-mixed-block-sizes.sh
index 1803256..2f0b3a0 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)



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-09-11 19:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-11 19:02 master - tests: allow-mixed-block-sizes skip with older losetup David Teigland

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.