From 14cd1ff396b3414c3c13e67c74e1ad805cd455ef Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Sun, 15 May 2005 14:21:13 -0700 Subject: [PATCH] [PATCH 4/4] Trivial test harness fixes. 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 Signed-off-by: Petr Baudis --- Makefile | 2 +- t/README | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 23129c44..8f2497cd 100644 --- a/Makefile +++ b/Makefile @@ -120,7 +120,7 @@ diff.o: $(LIB_H) strbuf.o: $(LIB_H) gitenv.o: $(LIB_H) -test: +test: all make -C t/ all clean: diff --git a/t/README b/t/README index 146e2619..2a94fdb0 100644 --- a/t/README +++ b/t/README @@ -32,7 +32,7 @@ the tests. 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 @@ assignment to variable 'test_description', like this: # 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 @@ This test harness library does the following things: consistently when command line arguments --verbose (or -v), --debug (or -d), and --immediate (or -i) is given. + End with test_done ------------------ -- 2.11.0