git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Test fails on ubuntu breezy

From
Junio C Hamano <junkio@cox.net>
Date
Apr 15, 2006, 07:24 UTC
Message-ID
<7vbqv3jo77.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<cc723f590604142347p7646aa40r52506a0d85b7d817@mail.gmail.com>
"Aneesh Kumar" <aneesh.kumar@gmail.com> writes:
> I am still having failure with the top of the tree. I guess it is
> because git rm exit with status 0.

Please don't guess, but validate (I know you are capable of doing so).

What I would do to see what is happening would be to do something like the attached patch and re-run the test.

BTW, you did "sh -x t3600-rm.sh" which is very good. I usually do it when debugging hard-to-debug testsuite problem, especially ones which I do not know intimately, written by somebody else, like this:

	sh -x tXXXX-that-test.sh -i
The -i option makes it immediately stop at the first test failure.
-- >8 --
diff --git a/git-rm.sh b/git-rm.sh
index fda4541..622ffca 100755
--- a/git-rm.sh
+++ b/git-rm.sh
@@ -43,6 +43,8 @@ case "$#" in
 	;;
 esac
 
+set -x
+
 if test -f "$GIT_DIR/info/exclude"
 then
 	git-ls-files -z \
Previous: Aneesh KumarNext: Aneesh Kumar
Message 4 of 6 in “Re: Test fails on ubuntu breezy”
  1. linux@horizon.comApr 13, 2006
  2. Junio C HamanoApr 13, 2006
  3. Aneesh KumarApr 15, 2006
  4. Junio C HamanoApr 15, 2006
  5. Aneesh KumarApr 15, 2006
  6. Aneesh KumarApr 15, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.