From d75045cfb301805969d17ef95ead12d8b25d5433 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Thu, 3 Mar 2011 12:30:33 +0000 Subject: [PATCH] Do not echo y to lvconvert This lvconvert is now able to complete operation automatically without question. So remove 'echo y |' - it's breaking pipe on some bash versions. i.e.: + echo y ./t-lvconvert-mirror-basic.sh: line 104: echo: write error: Broken pipe while command has completed this operation succesfully --- test/t-lvconvert-mirror-basic.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/t-lvconvert-mirror-basic.sh b/test/t-lvconvert-mirror-basic.sh index 413e6f2f9..09621733d 100644 --- a/test/t-lvconvert-mirror-basic.sh +++ b/test/t-lvconvert-mirror-basic.sh @@ -101,7 +101,7 @@ test_lvconvert() alloc="--alloc anywhere" fi - echo y | lvconvert -m $finish_count --mirrorlog $finish_log_type \ + lvconvert -m $finish_count --mirrorlog $finish_log_type \ $vg/$lv1 $alloc if ! $active; then