From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7392 invoked by alias); 3 Mar 2011 12:30:34 -0000 Received: (qmail 7336 invoked by uid 9737); 3 Mar 2011 12:30:33 -0000 Date: Thu, 03 Mar 2011 12:30:00 -0000 Message-ID: <20110303123033.7334.qmail@sourceware.org> From: zkabelac@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2/test t-lvconvert-mirror-basic.sh Mailing-List: contact lvm2-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: lvm2-cvs-owner@sourceware.org X-SW-Source: 2011-03/txt/msg00020.txt.bz2 CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: zkabelac@sourceware.org 2011-03-03 12:30:33 Modified files: test : t-lvconvert-mirror-basic.sh Log message: 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 Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/t-lvconvert-mirror-basic.sh.diff?cvsroot=lvm2&r1=1.7&r2=1.8 --- LVM2/test/t-lvconvert-mirror-basic.sh 2011/01/28 16:07:04 1.7 +++ LVM2/test/t-lvconvert-mirror-basic.sh 2011/03/03 12:30:33 1.8 @@ -101,7 +101,7 @@ 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