From: Kacper Kornet Subject: Re: [PATCH] Fix test t3701-add-interactive.sh Date: Thu, 5 May 2011 20:53:56 +0200 Message-ID: <20110505185355.GG31229@camk.edu.pl> References: <20110505165029.GD31229@camk.edu.pl> <7vzkn16m0q.fsf@alter.siamese.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Cc: git@vger.kernel.org To: Junio C Hamano X-From: git-owner@vger.kernel.org Thu May 05 20:54:17 2011 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QI3gg-0008PY-9x for gcvg-git-2@lo.gmane.org; Thu, 05 May 2011 20:54:10 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932128Ab1EESyE (ORCPT ); Thu, 5 May 2011 14:54:04 -0400 Received: from moat.camk.edu.pl ([148.81.175.50]:37826 "EHLO moat.camk.edu.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932115Ab1EESyD (ORCPT ); Thu, 5 May 2011 14:54:03 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by moat.camk.edu.pl (Postfix) with ESMTP id 9DEE05F0049; Thu, 5 May 2011 20:54:01 +0200 (CEST) X-Virus-Scanned: amavisd-new at camk.edu.pl Received: from moat.camk.edu.pl ([127.0.0.1]) by localhost (liam.camk.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id uy-3oXurFd3u; Thu, 5 May 2011 20:53:56 +0200 (CEST) Received: from gatekeeper.camk.edu.pl (gatekeeper.camk.edu.pl [192.168.1.23]) by moat.camk.edu.pl (Postfix) with ESMTP id 26CC65F0046; Thu, 5 May 2011 20:53:56 +0200 (CEST) Received: by gatekeeper.camk.edu.pl (Postfix, from userid 1293) id 1677280AC5; Thu, 5 May 2011 20:53:56 +0200 (CEST) Content-Disposition: inline In-Reply-To: <7vzkn16m0q.fsf@alter.siamese.dyndns.org> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On Thu, May 05, 2011 at 11:27:17AM -0700, Junio C Hamano wrote: > Kacper Kornet writes: > > One of the tests used to fail due to EOF not in the first column and not > > continued &&. > > Signed-off-by: Kacper Kornet > > --- > > t/t3701-add-interactive.sh | 4 ++-- > > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/t/t3701-add-interactive.sh b/t/t3701-add-interactive.sh > > index d6327e7..018f5d9 100755 > > --- a/t/t3701-add-interactive.sh > > +++ b/t/t3701-add-interactive.sh > > @@ -83,9 +83,9 @@ EOF > > test_expect_success PERL 'setup fake editor' ' > > cat >fake_editor.sh < > - EOF > > +EOF > > chmod a+x fake_editor.sh && > > - test_set_editor "$(pwd)/fake_editor.sh" && > > + test_set_editor "$(pwd)/fake_editor.sh" > > ' > Very curious. I never saw the breakage. We are getting: It is probably we are using a different shell as /bin/sh. > Well spotted. Thanks. By the way. The credit shoud probably go to qboosh@pld-linux.org. I have just rediscovered it in my private build. -- Kacper Kornet