From da7bc9b081ad8e45c997678c4ab4e7da9cd335ed Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Wed, 10 Aug 2005 22:15:02 -0400 Subject: [PATCH] [PATCH] Missing test_done All test scripts should end with test_done, which reports the test results. In the future, it could be used for other purposes, e.g. to distinguish graceful end from "exit" in a test. This patch fixes scripts that don't call test_done. Signed-off-by: Pavel Roskin Signed-off-by: Junio C Hamano --- t/t2003-checkout-cache-mkdir.sh | 1 + t/t3001-ls-files-others-exclude.sh | 2 ++ t/t4101-apply-nonl.sh | 2 ++ t/t5400-send-pack.sh | 2 ++ 4 files changed, 7 insertions(+) diff --git a/t/t2003-checkout-cache-mkdir.sh b/t/t2003-checkout-cache-mkdir.sh index 6ec28179..ed5e4ee5 100755 --- a/t/t2003-checkout-cache-mkdir.sh +++ b/t/t2003-checkout-cache-mkdir.sh @@ -93,3 +93,4 @@ test_expect_success \ test -d tmp-path1 && test -f tmp-path1/file1' +test_done diff --git a/t/t3001-ls-files-others-exclude.sh b/t/t3001-ls-files-others-exclude.sh index dbff346c..5beaaa33 100755 --- a/t/t3001-ls-files-others-exclude.sh +++ b/t/t3001-ls-files-others-exclude.sh @@ -66,3 +66,5 @@ test_expect_success \ --exclude-from=.git/ignore \ >output && diff -u expect output' + +test_done diff --git a/t/t4101-apply-nonl.sh b/t/t4101-apply-nonl.sh index 380ef15a..26b131d0 100755 --- a/t/t4101-apply-nonl.sh +++ b/t/t4101-apply-nonl.sh @@ -30,3 +30,5 @@ do "git-apply