Code

test-lib: Clean up comments and Makefile.
authorEmil Sit <sit@emilsit.net>
Sat, 28 Mar 2009 01:57:18 +0000 (21:57 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sat, 28 Mar 2009 07:11:27 +0000 (00:11 -0700)
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>
t/Makefile
t/test-lib.sh

index ed49c20b16b520da1b460960dbadd5d31c4927ba..9149373032ef8e1403c820cc289728393e5b8aa8 100644 (file)
@@ -24,7 +24,7 @@ pre-clean:
        $(RM) -r test-results
 
 clean:
-       $(RM) -r 'trash directory' test-results
+       $(RM) -r 'trash directory'.* test-results
 
 aggregate-results-and-cleanup: $(T)
        $(MAKE) aggregate-results
index fc0e1932e6397403c4efec753e8f4e23fb3cd26a..1b4f21638574a5cd9eb70bd9ba5d16ff10ba4058 100644 (file)
@@ -441,14 +441,6 @@ test_done () {
        fi
        case "$test_failure" in
        0)
-               # We could:
-               # cd .. && rm -fr 'trash directory'
-               # but that means we forbid any tests that use their own
-               # subdirectory from calling test_done without coming back
-               # to where they started from.
-               # The Makefile provided will clean this test area so
-               # we will leave things as they are.
-
                say_color pass "passed all $msg"
 
                test -d "$remove_trash" &&