diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2014-10-31 00:28:25 +0100 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2014-10-31 00:28:25 +0100 |
commit | e7c130430a2b232bdf062f8fb3064899b176986b (patch) | |
tree | d8049ef91e7aee2438288c5045c2bad760863c21 | |
parent | 8926230f6e7ac46c5bbed70d3e8efbc43e5b444d (diff) | |
download | lvm2-e7c130430a2b232bdf062f8fb3064899b176986b.tar.gz |
tests: explicitely use old snapshots
-rw-r--r-- | test/shell/snapshot-usage.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/shell/snapshot-usage.sh b/test/shell/snapshot-usage.sh index c29d310ef..a3dd7a674 100644 --- a/test/shell/snapshot-usage.sh +++ b/test/shell/snapshot-usage.sh @@ -111,7 +111,7 @@ lvs -a $vg1 lvremove -f $vg1 # Test virtual snapshot over /dev/zero -lvcreate -V50 -L10 -n $lv1 -s $vg1 +lvcreate --type snapshot -V50 -L10 -n $lv1 -s $vg1 CHECK_ACTIVE="active" test ! -e LOCAL_CLVMD || CHECK_ACTIVE="local exclusive" check lv_field $vg1/$lv1 lv_active "$CHECK_ACTIVE" @@ -228,7 +228,7 @@ lvcreate -s -l100%FREE -n $lv2 $vg1/$lv1 check lv_field $vg1/$lv2 size "7.50p" lvremove -ff $vg1 -lvcreate -V15E -l1 -n $lv1 -s $vg1 +lvcreate --type snapshot -V15E -l1 -n $lv1 -s $vg1 check lv_field $vg1/$lv1 origin_size "15.00e" vgremove -ff $vg1 |