summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2005-08-11 02:15:02 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-08-12 01:26:15 (GMT)
commitda7bc9b081ad8e45c997678c4ab4e7da9cd335ed (patch)
tree3a477cdba339620d12d97ecd48b970cff84df869 /t
parent8e832ebce61e6b82c7187365cbf12b2ef614c188 (diff)
downloadgit-da7bc9b081ad8e45c997678c4ab4e7da9cd335ed.zip
git-da7bc9b081ad8e45c997678c4ab4e7da9cd335ed.tar.gz
git-da7bc9b081ad8e45c997678c4ab4e7da9cd335ed.tar.bz2
[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 <proski@gnu.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't')
-rwxr-xr-xt/t2003-checkout-cache-mkdir.sh1
-rwxr-xr-xt/t3001-ls-files-others-exclude.sh2
-rwxr-xr-xt/t4101-apply-nonl.sh2
-rwxr-xr-xt/t5400-send-pack.sh2
4 files changed, 7 insertions, 0 deletions
diff --git a/t/t2003-checkout-cache-mkdir.sh b/t/t2003-checkout-cache-mkdir.sh
index 6ec2817..ed5e4ee 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 dbff346..5beaaa3 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 380ef15..26b131d 100755
--- a/t/t4101-apply-nonl.sh
+++ b/t/t4101-apply-nonl.sh
@@ -30,3 +30,5 @@ do
"git-apply <diff.$i-$j && diff frotz.$j frotz"
done
done
+
+test_done
diff --git a/t/t5400-send-pack.sh b/t/t5400-send-pack.sh
index 19a8f12..a362c6e 100755
--- a/t/t5400-send-pack.sh
+++ b/t/t5400-send-pack.sh
@@ -52,3 +52,5 @@ test_expect_success \
git-send-pack --force ./victim/.git/ master &&
cmp victim/.git/refs/heads/master .git/refs/heads/master
'
+
+test_done