public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
* LVM2/test t-lvcreate-operation.sh
@ 2011-07-25  8:41 zkabelac
  0 siblings, 0 replies; 2+ messages in thread
From: zkabelac @ 2011-07-25  8:41 UTC (permalink / raw)
  To: lvm-devel, lvm2-cvs

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	zkabelac@sourceware.org	2011-07-25 08:41:53

Modified files:
	test           : t-lvcreate-operation.sh 

Log message:
	Add simple test for read-only table reload suppression
	
	Just a small test for previous libdm commit.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/t-lvcreate-operation.sh.diff?cvsroot=lvm2&r1=1.6&r2=1.7

--- LVM2/test/t-lvcreate-operation.sh	2011/01/05 00:16:20	1.6
+++ LVM2/test/t-lvcreate-operation.sh	2011/07/25 08:41:52	1.7
@@ -29,6 +29,7 @@
 # Create snapshots of LVs on --metadatacopies 0 PV (bz450651)
 lvcreate -n$lv1 -l4 $vg $dev1
 lvcreate -n$lv2 -l4 -s $vg/$lv1
+lvcreate -n$lv3 -l4 --permission r -s $vg/$lv1
 cleanup_lvs
 
 # ---


^ permalink raw reply	[flat|nested] 2+ messages in thread

* LVM2/test t-lvcreate-operation.sh
@ 2010-04-06 14:24 zkabelac
  0 siblings, 0 replies; 2+ messages in thread
From: zkabelac @ 2010-04-06 14:24 UTC (permalink / raw)
  To: lvm-devel, lvm2-cvs

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	zkabelac@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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-07-25  8:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-25  8:41 LVM2/test t-lvcreate-operation.sh zkabelac
  -- strict thread matches above, loose matches on Subject: below --
2010-04-06 14:24 zkabelac

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).