From: mornfall@sourceware.org <mornfall@sourceware.org>
To: lvm-devel@redhat.com
Subject: LVM2/test t-lvcreate-usage.sh
Date: 10 Nov 2008 12:37:04 -0000 [thread overview]
Message-ID: <20081110123704.486.qmail@sourceware.org> (raw)
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: mornfall at sourceware.org 2008-11-10 12:37:03
Modified files:
test : t-lvcreate-usage.sh
Log message:
Add bz186013 check -- lvcreate rejects an invalid regionsize (jstava).
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/t-lvcreate-usage.sh.diff?cvsroot=lvm2&r1=1.8&r2=1.9
--- LVM2/test/t-lvcreate-usage.sh 2008/09/30 17:50:56 1.8
+++ LVM2/test/t-lvcreate-usage.sh 2008/11/10 12:37:03 1.9
@@ -13,9 +13,11 @@
. ./test-utils.sh
-aux prepare_vg 2
+aux prepare_pvs 2
+aux pvcreate --metadatacopies 0 $dev1
+vgcreate -cn $vg $devs
-# "lvcreate rejects repeated invocation (run 2 times)"
+# "lvcreate rejects repeated invocation (run 2 times) (bz178216)"
lvcreate -n $lv -l 4 $vg
not lvcreate -n $lv -l 4 $vg
lvremove -ff $vg/$lv
@@ -46,6 +48,10 @@
not lvcreate -L 64M -n $lv -i129 $vg 2>err
grep "^ Number of stripes (129) must be between 1 and 128\$" err
+# 'lvcreate rejects an invalid regionsize (bz186013)'
+not lvcreate -L 64M -n $lv -R0 $vg 2>err
+grep "Non-zero region size must be supplied." err
+
# The case on lvdisplay output is to verify that the LV was not created.
# 'lvcreate rejects an invalid stripe size'
not lvcreate -L 64M -n $lv -i2 --stripesize 3 $vg 2>err
next reply other threads:[~2008-11-10 12:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-10 12:37 mornfall [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-06-28 9:43 LVM2/test t-lvcreate-usage.sh agk
2010-04-13 6:25 mornfall
2009-05-08 21:50 wysochanski
2009-05-08 4:24 wysochanski
2008-09-30 17:50 mornfall
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081110123704.486.qmail@sourceware.org \
--to=mornfall@sourceware.org \
--cc=lvm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.