diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2020-10-06 15:45:19 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2020-10-19 16:53:18 +0200 |
commit | d2bdad28d1d1ad337a6c876c235797dbf6907886 (patch) | |
tree | 6525cfb37d1baa95bb07a053735252bbe7f63e22 | |
parent | b50134dc14296bf9bee96f3b4021ba5b123d54c9 (diff) | |
download | lvm2-d2bdad28d1d1ad337a6c876c235797dbf6907886.tar.gz |
tests: extend area covered by error target
Since 'BLKZEROOUT' streams out more block at once, at can easily
zero-out larger set of blocks after 1st. failing one.
So the test is adapted to fully 'hide' swap header under error target.
-rw-r--r-- | test/shell/lvcreate-signature-wiping.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/shell/lvcreate-signature-wiping.sh b/test/shell/lvcreate-signature-wiping.sh index 18d7a2f7e..4893d9a66 100644 --- a/test/shell/lvcreate-signature-wiping.sh +++ b/test/shell/lvcreate-signature-wiping.sh @@ -43,7 +43,7 @@ test_blkid_ || skip lvremove -f $vg/$lv1 # Zeroing stops the command when there is a failure (write error in this case) -aux error_dev "$dev1" "$(get first_extent_sector "$dev1"):2" +aux error_dev "$dev1" "$(get first_extent_sector "$dev1"):8" not lvcreate -l1 -n $lv1 $vg 2>&1 | tee out grep "Failed to initialize" out aux enable_dev "$dev1" |