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

[PATCH 4/4] Trivial test harness fixes.

From
Junio C Hamano <junkio@cox.net>
Date
May 15, 2005, 21:21 UTC
Message-ID
<7voebcqj7a.fsf@assigned-by-dhcp.cox.net>

The documentation of the test harness still refer to old numbering and also contains an obvious typo.

Also "make test" should be run after making sure we have built all binaries, since test is designed to test the newly built ones.

Signed-off-by: Junio C Hamano <junkio@cox.net>
---

Makefile | 2 +- t/README | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-)

--- a/Makefile
+++ b/Makefile
@@ -120,7 +120,7 @@
 strbuf.o: $(LIB_H)
 gitenv.o: $(LIB_H)
 
-test:
+test: all
 	make -C t/ all
 
 clean:
--- a/t/README
+++ b/t/README
@@ -32,7 +32,7 @@
 Or you can run each test individually from command line, like
 this:
 
-    $ sh ./t0500-ls-files.sh
+    $ sh ./t3001-ls-files-killed.sh
     *   ok 1: git-update-cache --add to add various paths.
     *   ok 2: git-ls-files -k to show killed files.
     *   ok 3: validate git-ls-files -k output.
@@ -92,7 +92,7 @@
 	# Copyright (c) 2005 Junio C Hamano
 	#
 
-	test_description=xxx test (option --frotz)
+	test_description='xxx test (option --frotz)
 
 	This test registers the following structure in the cache
 	and tries to run git-ls-files with option --frotz.'
@@ -120,6 +120,7 @@
    consistently when command line arguments --verbose (or -v),
    --debug (or -d), and --immediate (or -i) is given.
 
+
 End with test_done
 ------------------
 
Message 1 of 1 in “Trivial test harness fixes.”
  1. 4/4 Trivial test harness fixes.Junio C Hamano, May 15, 2005

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.