Skip to contentSkip to conversation

LVM2/test t-lvcreate-operation.sh

PATCH [email protected] 1 participant 1 message Apr 6, 2010

lore
Share & tools
lore
#0 lore raw

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

test/t-lvcreate-operation.sh +1 -1
@@ -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