Skip to content

Commit

Permalink
test-lib: Clean up comments and Makefile.
Browse files Browse the repository at this point in the history
Bring documentation in test-lib and clean target
in Makefile in-line with abc5d37.

Signed-off-by: Emil Sit <sit@emilsit.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Emil Sit authored and Junio C Hamano committed Mar 28, 2009
1 parent 5d83f9c commit 81db4ab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion t/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 0 additions & 8 deletions t/test-lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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" &&
Expand Down

0 comments on commit 81db4ab

Please sign in to comment.