Skip to content

Commit da7bc9b

Browse files
Pavel RoskinJunio C Hamano
authored andcommitted
[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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 8e832eb commit da7bc9b

File tree

4 files changed

+7
-0
lines changed

4 files changed

+7
-0
lines changed

t/t2003-checkout-cache-mkdir.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,4 @@ test_expect_success \
9393
test -d tmp-path1 &&
9494
test -f tmp-path1/file1'
9595

96+
test_done

t/t3001-ls-files-others-exclude.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,5 @@ test_expect_success \
6666
--exclude-from=.git/ignore \
6767
>output &&
6868
diff -u expect output'
69+
70+
test_done

t/t4101-apply-nonl.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,5 @@ do
3030
"git-apply <diff.$i-$j && diff frotz.$j frotz"
3131
done
3232
done
33+
34+
test_done

t/t5400-send-pack.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,5 @@ test_expect_success \
5252
git-send-pack --force ./victim/.git/ master &&
5353
cmp victim/.git/refs/heads/master .git/refs/heads/master
5454
'
55+
56+
test_done

0 commit comments

Comments
 (0)