test-lib: Clean up comments and Makefile.
Bring documentation in test-lib and clean target in Makefile in-line with abc5d372. Signed-off-by: Emil Sit <sit@emilsit.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Emil Sit committed
Mar 27, 2009 at 21:57 UTC
81db4abf84ec7fbebeb08f6ad506138da2e7e4cd
2 files changed
+1
-9
t/Makefile
+1
-1
@@ -24,7 +24,7 @@ pre-clean:
24
$(RM) -r test-results
25
26
clean:
27
- $(RM) -r 'trash directory' test-results
27
+ $(RM) -r 'trash directory'.* test-results
28
29
aggregate-results-and-cleanup: $(T)
30
$(MAKE) aggregate-results
t/test-lib.sh
-8
@@ -441,14 +441,6 @@ test_done () {
441
fi
442
case "$test_failure" in
443
0)
444
- # We could:
445
- # cd .. && rm -fr 'trash directory'
446
- # but that means we forbid any tests that use their own
447
- # subdirectory from calling test_done without coming back
448
- # to where they started from.
449
- # The Makefile provided will clean this test area so
450
- # we will leave things as they are.
451
-
444
say_color pass "passed all $msg"
445
446
test -d "$remove_trash" &&