All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nicolas Sebrecht <nicolas.s.dev@gmx.fr>
To: Jeff King <peff@peff.net>
Cc: Nicolas Sebrecht <nicolas.s.dev@gmx.fr>,
	git@vger.kernel.org, Junio C Hamano <gitster@pobox.com>
Subject: Re: 3 failures on test t9100 (svn)
Date: Wed, 3 Mar 2010 01:58:04 +0100	[thread overview]
Message-ID: <20100303005804.GA17120@vidovic> (raw)
In-Reply-To: <20100302212806.GA21413@coredump.intra.peff.net>

The 02/03/10, Jeff King wrote:
> On Tue, Mar 02, 2010 at 08:45:18PM +0100, Nicolas Sebrecht wrote:
> 
> > Some tests in t9100 don't pass here with current next (full log
> > attached). Any idea?
> > [...]
> >   test_cmp:1: command not found: diff -u
> 
> Probably related to this line. Assuming you have "diff" in your PATH,

  $ which diff
  /usr/bin/diff
  $ diff --version
  diff (GNU diffutils) 2.8.7

> based on that message I would guess that your shell is trying to execute
> "diff -u" as a single file, which obviously won't work. The relevant
> code in test-lib.sh is something like:
> 
>   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.

>                                                   What platform are you
> on? Which shell is /bin/sh on your system?

I'm running Gentoo. I had

  $ 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've changed the symbolic link to point to /bin/zsh (my every day shell)
but this didn't help.

  $ zsh --version
  zsh 4.3.9 (x86_64-pc-linux-gnu)

I think your diagnosis is right or very near from the problem. But I
would have expected that changing to another shell did the trick. Odd.


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'll do more investigations at work tomorrow. I've already tried to add
the "-d" flag in git-svn and it didn't help neither: git looked like in
an infinite loop. Odd, odd, odd.

-- 
Nicolas Sebrecht

  reply	other threads:[~2010-03-03  0:58 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 [this message]
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     ` 3 failures on test t9100 (svn) Jeff King
2010-03-03 19:52       ` 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=20100303005804.GA17120@vidovic \
    --to=nicolas.s.dev@gmx.fr \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=peff@peff.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.