From 19d0f2b57cd14621ed1f54aead4abd170f71aab4 Mon Sep 17 00:00:00 2001 From: Petr Rockai Date: Tue, 13 Apr 2010 06:25:08 +0000 Subject: [PATCH] Fix t-lvcreate-usage, as lvcreate ... -i1 no longer prints "Redundant stripes argument: default is 1". --- test/t-lvcreate-usage.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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