1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-26 08:55:06 +03:00

tests: skip test for too old sfdisk

This commit is contained in:
Zdenek Kabelac 2024-10-22 22:30:47 +02:00
parent 0f793fcbca
commit 96cea466a5

View File

@ -25,7 +25,7 @@ pvcreate_on_dev_with_part_table() {
local type=$2
# pvcreate passes on empty partition table
echo "label:$type" | sfdisk "$dev"
echo "label:$type" | sfdisk "$dev" || skip "sfdisk does not support lable:$type"
pvcreate -y "$dev"
pvremove "$dev"