aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-03-28 01:16:46 -0700
committerJunio C Hamano <gitster@pobox.com>2009-03-28 01:16:46 -0700
commitb0085a716770d9d2876edd74c6119c48d9d6f232 (patch)
tree3658953cbb5a9a2fd1bab5fe0bf80781a6362383 /t
parenta1b1ae0571f6b57117678aeaa1939d97c992a254 (diff)
parent9d5156496d2d32800df52fa372295c16ab2578f0 (diff)
downloadgit-b0085a716770d9d2876edd74c6119c48d9d6f232.tar.gz
git-b0085a716770d9d2876edd74c6119c48d9d6f232.tar.xz
Merge branch 'maint'
* maint: test-lib: Clean up comments and Makefile. diff --no-index: Do not generate patch output if other output is requested
Diffstat (limited to 't')
-rw-r--r--t/Makefile2
-rw-r--r--t/test-lib.sh8
2 files changed, 1 insertions, 9 deletions
diff --git a/t/Makefile b/t/Makefile
index 09623414a..bf816fc85 100644
--- a/t/Makefile
+++ b/t/Makefile
@@ -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
diff --git a/t/test-lib.sh b/t/test-lib.sh
index 2979e8ea0..b050196cb 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -523,14 +523,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" &&