Re: 3 failures on test t9100 (svn)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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,
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. What platform are you
on? Which shell is /bin/sh on your system?

-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]