Skip to content

Commit 81db4ab

Browse files
sitgitster
authored andcommitted
test-lib: Clean up comments and Makefile.
Bring documentation in test-lib and clean target in Makefile in-line with abc5d37. Signed-off-by: Emil Sit <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 5d83f9c commit 81db4ab

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

t/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pre-clean:
2424
$(RM) -r test-results
2525

2626
clean:
27-
$(RM) -r 'trash directory' test-results
27+
$(RM) -r 'trash directory'.* test-results
2828

2929
aggregate-results-and-cleanup: $(T)
3030
$(MAKE) aggregate-results

t/test-lib.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -441,14 +441,6 @@ test_done () {
441441
fi
442442
case "$test_failure" in
443443
0)
444-
# We could:
445-
# cd .. && rm -fr 'trash directory'
446-
# but that means we forbid any tests that use their own
447-
# subdirectory from calling test_done without coming back
448-
# to where they started from.
449-
# The Makefile provided will clean this test area so
450-
# we will leave things as they are.
451-
452444
say_color pass "passed all $msg"
453445

454446
test -d "$remove_trash" &&

0 commit comments

Comments
 (0)