Skip to contentSkip to conversation

2018-06-01-stable - tests: update with --yes

PATCH Zdenek Kabelac 1 participant 1 message Jul 4, 2018

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=c1dbb22ba44460bf75c2dc7c0f72434abab40219
Commit:        c1dbb22ba44460bf75c2dc7c0f72434abab40219
Parent:        99cddd67a9dfcd6400640ac8ebf8d6d568ce19d6
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Sun Jun 24 20:49:59 2018 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Wed Jul 4 13:41:00 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