Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Sit <sit@emilsit.net>2009-03-28 04:57:18 +0300
committerJunio C Hamano <gitster@pobox.com>2009-03-28 10:11:27 +0300
commit81db4abf84ec7fbebeb08f6ad506138da2e7e4cd (patch)
treebad7f2e99af7a0c5954a016dc7986b2dc7fece47
parent5d83f9c19810229bb765ef63864e4f252e83ad61 (diff)
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>
-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 ed49c20b16..9149373032 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 fc0e1932e6..1b4f216385 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -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" &&