[lvm-devel] LVM2/test t-lvcreate-operation.sh
zkabelac at sourceware.org
zkabelac at sourceware.org
Tue Apr 6 14:24:17 UTC 2010
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2010-04-06 14:24:17
Modified files:
test : t-lvcreate-operation.sh
Log message:
Using 'not' if the test 'should' fail.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/t-lvcreate-operation.sh.diff?cvsroot=lvm2&r1=1.3&r2=1.4
--- LVM2/test/t-lvcreate-operation.sh 2010/03/26 22:15:44 1.3
+++ LVM2/test/t-lvcreate-operation.sh 2010/04/06 14:24:13 1.4
@@ -38,5 +38,5 @@
# --
# Create mirror on one dev with mirrored log using --alloc anywhere, should fail
-lvcreate -m 1 -l4 -n $lv1 --mirrorlog mirrored $vg --alloc anywhere $dev1
+not lvcreate -m 1 -l4 -n $lv1 --mirrorlog mirrored $vg --alloc anywhere $dev1
cleanup_lvs
More information about the lvm-devel
mailing list