git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff King <peff@peff.net>
To: Nicolas Sebrecht <nicolas.s.dev@gmx.fr>
Cc: git@vger.kernel.org, Junio C Hamano <gitster@pobox.com>
Subject: Re: 3 failures on test t9100 (svn)
Date: Wed, 3 Mar 2010 12:23:02 -0500	[thread overview]
Message-ID: <20100303172302.GA10168@coredump.intra.peff.net> (raw)
In-Reply-To: <20100303005804.GA17120@vidovic>

On Wed, Mar 03, 2010 at 01:58:04AM +0100, Nicolas Sebrecht wrote:

> >   GIT_TEST_CMP='diff -u'
> >   test_cmp() {
> >     $GIT_TEST_CMP "$@"
> >   }
> > 
> > which _should_ split the "diff -u" on whitespace.
> 
> I've tried with these exact lines without more success.

That's weird. Can you test this in each of your shells:

  foo() {
    echo "in foo, arg=$1"
  }
  VARIABLE='foo bar'
  $VARIABLE

It should print "in foo, arg=bar". If it doesn't, then the shell is
broken.

Also, can you confirm that you aren't setting SHELL_PATH in the Makefile
(or in your environment) when building and testing git?

>   $ ls -ld $(which sh)
>   lrwxrwxrwx 1 root root 4 févr. 13  2009 /bin/sh -> bash
>   $ bash --version
>   GNU bash, version 3.2.39(1)-release (x86_64-pc-linux-gnu)

I have this same version of bash on my Debian stable box, and it passes
the test I outlined above. So perhaps there is something more subtle
going on.

> That said, I did the svn tests because sometimes I have reproductible
> errors with 'git svn fetch' or 'git svn clone'. I'm not sure how both
> problems could be related... git-svn is a Perl script. The given message
> for this one is "error: died with signal 11" from what I remember (but
> I'm sure about the "signal 11" part).

I doubt they are related. This test_cmp problem is a problem in the test
harness, but it may be masking actual problems by giving false
negatives.

-Peff

  parent reply	other threads:[~2010-03-03 17:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-02 19:45 3 failures on test t9100 (svn) Nicolas Sebrecht
2010-03-02 21:28 ` Jeff King
2010-03-03  0:58   ` Nicolas Sebrecht
2010-03-03  9:22     ` git-svn died of signal 11 (was "3 failures on test t9100 (svn)") Nicolas Sebrecht
2010-03-03 17:31       ` Jeff King
2010-03-03 21:24         ` Nicolas Sebrecht
2010-03-03 17:23     ` Jeff King [this message]
2010-03-03 19:52       ` 3 failures on test t9100 (svn) Nicolas Sebrecht
2010-03-03 20:01       ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100303172302.GA10168@coredump.intra.peff.net \
    --to=peff@peff.net \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=nicolas.s.dev@gmx.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).