Skip to contentSkip to conversation

master - tests: add --force to sfdisk

PATCH Zdenek Kabelac 1 participant 1 message Jan 30, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=71e88f761d4d3517dbc810e28c807fb84b49ac20
Commit:        71e88f761d4d3517dbc810e28c807fb84b49ac20
Parent:        04b60e927464454c376ac97d7285affbde186e2f
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Fri Jan 30 16:46:06 2015 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Fri Jan 30 16:46:06 2015 +0100

tests: add --force to sfdisk

Avoid udev sync troubles for now.

---
 test/shell/test-partition.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
test/shell/test-partition.sh +1 -1
index e79216e..f68d572 100644
@@ -26,7 +26,7 @@ aux prepare_pvs 1 30
 pvs "$dev1"
 
 # create small partition table
-echo "1 2" | sfdisk "$dev1"
+echo "1 2" | sfdisk --force "$dev1"
 
 aux notify_lvmetad "$dev1"
 not pvs "$dev1"