Skip to contentSkip to conversation

master - tests: update with --yes

PATCH Zdenek Kabelac 1 participant 1 message Jun 25, 2018

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=19b92ae3f3185919a0a1cef849a9a003101d4429
Commit:        19b92ae3f3185919a0a1cef849a9a003101d4429
Parent:        cea88a9e4ee5a2aa28b52d673fba66327e88ff6e
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Sun Jun 24 20:49:59 2018 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Mon Jun 25 15:07:55 2018 +0200

tests: update with --yes

vgcfgrestore needs to confirm restore while LVs from VG are present.

---
 test/shell/thin-restore.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
test/shell/thin-restore.sh +1 -1
index 3682a8c..d8bae3c 100644
@@ -33,7 +33,7 @@ vgcfgbackup -f backup $vg
 # use of --force is mandatory
 not vgcfgrestore -f backup $vg
 
-vgcfgrestore -f backup --force $vg
+vgcfgrestore -y -f backup --force $vg
 
 check lv_field $vg/pool transaction_id 1