From: Petr Rockai Date: Tue, 13 Apr 2010 06:25:08 +0000 (+0000) Subject: Fix t-lvcreate-usage, as lvcreate ... -i1 no longer prints "Redundant stripes X-Git-Tag: v2_02_91~2072 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=99224dfeac6e528b2482c48f2d05f277ccf329d8;p=lvm2.git Fix t-lvcreate-usage, as lvcreate ... -i1 no longer prints "Redundant stripes argument: default is 1". --- diff --git a/test/t-lvcreate-usage.sh b/test/t-lvcreate-usage.sh index 62cf15189..0bb06ab71 100755 --- a/test/t-lvcreate-usage.sh +++ b/test/t-lvcreate-usage.sh @@ -33,8 +33,7 @@ not lvcreate -L 64m -n $lv -i2 --stripesize 4294967291 $vg 2>err grep "^ Stripe size cannot be larger than" err # 'lvcreate w/single stripe succeeds with diagnostics to stdout' -lvcreate -L 64m -n $lv -i1 --stripesize 4 $vg >out 2>err -grep "^ Redundant stripes argument: default is 1\$" out +lvcreate -L 64m -n $lv -i1 --stripesize 4 $vg 2> err | tee out grep "^ Ignoring stripesize argument with single stripe\$" out lvdisplay $vg lvremove -ff $vg