Return-Path: Received: from sfi-mx-3.v28.ch3.sourceforge.com ([172.29.28.123] helo=mx.sourceforge.net) by 335xhf1.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1MMZWo-0004ms-Ho for ltp-list@lists.sourceforge.net; Fri, 03 Jul 2009 03:33:34 +0000 Received: from mail-yx0-f195.google.com ([209.85.210.195]) by 3b2kzd1.ch3.sourceforge.com with esmtp (Exim 4.69) id 1MMZWi-0000o1-FV for ltp-list@lists.sourceforge.net; Fri, 03 Jul 2009 03:33:34 +0000 Received: by yxe33 with SMTP id 33so1986567yxe.28 for ; Thu, 02 Jul 2009 20:33:27 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20090702090228.GE19135@count0.beaverton.ibm.com> References: <20090702084828.GC19135@count0.beaverton.ibm.com> <20090702090228.GE19135@count0.beaverton.ibm.com> Date: Thu, 2 Jul 2009 20:33:27 -0700 Message-ID: <364299f40907022033n5334ed2bv41dad2628603d8f2@mail.gmail.com> From: Garrett Cooper Subject: Re: [LTP] [PATCH 3/4] netns: Fixup non-sh syntax List-Id: Linux Test Project General Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: ltp-list-bounces@lists.sourceforge.net To: Matt Helsley Cc: Poornima Nayak , LTP , Daniel Lezcano , Veerendra C , Munipradeep On Thu, Jul 2, 2009 at 2:02 AM, Matt Helsley wrote: > Fixup some non-sh syntax which seems to trigger problems on my fedora 10 > KVM image. > > Signed-off-by: Matt Helsley > Cc: Daniel Lezcano > Cc: Poornima Nayak > Cc: Sudhir Kumar > Cc: Veerendra C > Cc: Munipradeep > Cc: ltp@list.sourceforge.net > --- > =A0testcases/kernel/containers/netns/parentns.sh | =A0 =A02 +- > =A01 file changed, 1 insertion(+), 1 deletion(-) > > Index: ltp/testcases/kernel/containers/netns/parentns.sh > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- ltp.orig/testcases/kernel/containers/netns/parentns.sh > +++ ltp/testcases/kernel/containers/netns/parentns.sh > @@ -56,7 +56,7 @@ status=3D0 > =A0 =A0 create_veth > =A0 =A0 vnet0=3D$dev0 > =A0 =A0 vnet1=3D$dev1 > - =A0 =A0if [[ -z $vnet0 || -z $vnet1 ]] ; then > + =A0 =A0if [ -z $vnet0 -o -z $vnet1 ] ; then > =A0 =A0 =A0 =A0 tst_resm TFAIL =A0"Error: unable to create veth pair" > =A0 =A0 =A0 =A0 exit -1 > =A0 =A0 else While you're there, could you please quote "$vnet0"? Thanks, -Garrett ---------------------------------------------------------------------------= --- _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list