summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5d83f9c)
raw | patch | inline | side by side (parent: 5d83f9c)
author | Emil Sit <sit@emilsit.net> | |
Sat, 28 Mar 2009 01:57:18 +0000 (21:57 -0400) | ||
committer | Junio 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>
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 | patch | blob | history | |
t/test-lib.sh | patch | blob | history |
diff --git a/t/Makefile b/t/Makefile
index ed49c20b16b520da1b460960dbadd5d31c4927ba..9149373032ef8e1403c820cc289728393e5b8aa8 100644 (file)
--- a/t/Makefile
+++ b/t/Makefile
$(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
diff --git a/t/test-lib.sh b/t/test-lib.sh
index fc0e1932e6397403c4efec753e8f4e23fb3cd26a..1b4f21638574a5cd9eb70bd9ba5d16ff10ba4058 100644 (file)
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
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" &&