Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
[PATCH 4/4] Trivial test harness fixes.
author
Junio C Hamano
<junkio@cox.net>
Sun, 15 May 2005 21:21:13 +0000
(14:21 -0700)
committer
Petr Baudis
<xpasky@machine.sinus.cz>
Sun, 15 May 2005 22:22:10 +0000
(
00:22
+0200)
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>
Signed-off-by: Petr Baudis <pasky@ucw.cz>
Makefile
patch
|
blob
|
history
t/README
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
7ab6f3d
)
diff --git
a/Makefile
b/Makefile
index 23129c442190fca832e69fdd032a0ea31c2dfe99..8f2497cd997257db25953672f809eb81daa00eaf 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-120,7
+120,7
@@
diff.o: $(LIB_H)
strbuf.o: $(LIB_H)
gitenv.o: $(LIB_H)
strbuf.o: $(LIB_H)
gitenv.o: $(LIB_H)
-test:
+test:
all
make -C t/ all
clean:
make -C t/ all
clean:
diff --git
a/t/README
b/t/README
index 146e261934598694c750d0fe0357ab4a25d88d83..2a94fdb0b83ab5fcbf1a2c6edaf36c2dbe765ec6 100644
(file)
--- a/
t/README
+++ b/
t/README
@@
-32,7
+32,7
@@
the tests.
Or you can run each test individually from command line, like
this:
Or you can run each test individually from command line, like
this:
- $ sh ./t
0500-ls-files
.sh
+ $ sh ./t
3001-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.
* 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
#
# 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.'
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.
consistently when command line arguments --verbose (or -v),
--debug (or -d), and --immediate (or -i) is given.
+
End with test_done
------------------
End with test_done
------------------