diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2023-04-24 22:41:54 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2023-04-25 00:12:31 +0200 |
commit | 4a003ba671bd4f38d9108f5dd174eccda1522c3b (patch) | |
tree | 4fcdb97410798626ef25901fa69eb92e1b4ca011 | |
parent | 7c8901dabde8d962a95a827f249ad50a86b0a42c (diff) | |
download | lvm2-4a003ba671bd4f38d9108f5dd174eccda1522c3b.tar.gz |
tests: fix pattern for raid4
Since the strip in raid4 might be XOR - we might eventually end
with 2 blocks of 'B' on 2 disks - so will rest of stripe with 'b'.
-rw-r--r-- | test/shell/integrity-caching.sh | 2 | ||||
-rw-r--r-- | test/shell/integrity-syncaction.sh | 2 | ||||
-rw-r--r-- | test/shell/integrity.sh | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/test/shell/integrity-caching.sh b/test/shell/integrity-caching.sh index 73d33de18..838bbded0 100644 --- a/test/shell/integrity-caching.sh +++ b/test/shell/integrity-caching.sh @@ -28,7 +28,7 @@ aux prepare_devs 6 80 # Use awk instead of anoyingly long log out from printf #printf "%0.sA" {1..16384} >> fileA awk 'BEGIN { while (z++ < 16384) printf "A" }' > fileA -awk 'BEGIN { while (z++ < 4096) printf "B" }' > fileB +awk 'BEGIN { while (z++ < 4096) printf "B" ; while (z++ < 16384) printf "b" }' > fileB awk 'BEGIN { while (z++ < 16384) printf "C" }' > fileC # generate random data diff --git a/test/shell/integrity-syncaction.sh b/test/shell/integrity-syncaction.sh index ededda010..0f8ce17d2 100644 --- a/test/shell/integrity-syncaction.sh +++ b/test/shell/integrity-syncaction.sh @@ -27,7 +27,7 @@ aux prepare_devs 3 40 # Use awk instead of anoyingly long log out from printf #printf "%0.sA" {1..16384} >> fileA awk 'BEGIN { while (z++ < 16384) printf "A" }' > fileA -awk 'BEGIN { while (z++ < 4096) printf "B" }' > fileB +awk 'BEGIN { while (z++ < 4096) printf "B" ; while (z++ < 16384) printf "b" }' > fileB awk 'BEGIN { while (z++ < 16384) printf "C" }' > fileC _prepare_vg() { diff --git a/test/shell/integrity.sh b/test/shell/integrity.sh index b55855ab4..1ba75d230 100644 --- a/test/shell/integrity.sh +++ b/test/shell/integrity.sh @@ -28,7 +28,7 @@ aux prepare_devs 5 64 # Use awk instead of anoyingly long log out from printf #printf "%0.sA" {1..16384} >> fileA awk 'BEGIN { while (z++ < 16384) printf "A" }' > fileA -awk 'BEGIN { while (z++ < 4096) printf "B" }' > fileB +awk 'BEGIN { while (z++ < 4096) printf "B" ; while (z++ < 16384) printf "b" }' > fileB awk 'BEGIN { while (z++ < 16384) printf "C" }' > fileC # generate random data |