]> sourceware.org Git - lvm2.git/commitdiff
Fix t-lvcreate-usage, as lvcreate ... -i1 no longer prints "Redundant stripes
authorPetr Rockai <prockai@redhat.com>
Tue, 13 Apr 2010 06:25:08 +0000 (06:25 +0000)
committerPetr Rockai <prockai@redhat.com>
Tue, 13 Apr 2010 06:25:08 +0000 (06:25 +0000)
argument: default is 1".

test/t-lvcreate-usage.sh

index 62cf151896d8c94f971d58d0cb5ecc94487e6472..0bb06ab71db39d1a46e4ab21f84dc68d88633438 100755 (executable)
@@ -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
This page took 0.038098 seconds and 5 git commands to generate.