[PATCH] Missing test_done
authorPavel Roskin <proski@gnu.org>
Thu, 11 Aug 2005 02:15:02 +0000 (22:15 -0400)
committerJunio C Hamano <junkio@cox.net>
Fri, 12 Aug 2005 01:26:15 +0000 (18:26 -0700)
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>
t/t2003-checkout-cache-mkdir.sh
t/t3001-ls-files-others-exclude.sh
t/t4101-apply-nonl.sh
t/t5400-send-pack.sh

index 6ec28179bead74cb719f9b6815c33cbcb7a601af..ed5e4ee5163dd115ce407fd46b4301eba950f7f7 100755 (executable)
@@ -93,3 +93,4 @@ test_expect_success \
      test -d tmp-path1 &&
      test -f tmp-path1/file1'
 
+test_done
index dbff346c0a45b2342d543802f57322b76f850cb4..5beaaa33752daceb216ec7dec50727b9bd03682c 100755 (executable)
@@ -66,3 +66,5 @@ test_expect_success \
        --exclude-from=.git/ignore \
        >output &&
      diff -u expect output'
+
+test_done
index 380ef15a271bfac2fd33124901757e100511d40a..26b131d0d5567a05e4ce7f386a06147e7b64fd88 100755 (executable)
@@ -30,3 +30,5 @@ do
        "git-apply <diff.$i-$j && diff frotz.$j frotz"
   done
 done
+
+test_done
index 19a8f122c75bc14e3bf421a5aeee0f2bd3ff7e83..a362c6ebe024ce43e7af7d0b3e7edb9cb64d8325 100755 (executable)
@@ -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