Re: 3 failures on test t9100 (svn)
- From
Jeff King <peff@peff.net>
- Date
- Mar 2, 2010, 21:28 UTC
- Message-ID
- <20100302212806.GA21413@coredump.intra.peff.net>
- In-Reply-To
- <20100302194518.GA12942@vidovic>
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