mirror of
https://github.com/git/git
synced 2024-08-24 18:26:02 +00:00
[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>
This commit is contained in:
parent
8e832ebce6
commit
da7bc9b081
|
@ -93,3 +93,4 @@ test_expect_success \
|
||||||
test -d tmp-path1 &&
|
test -d tmp-path1 &&
|
||||||
test -f tmp-path1/file1'
|
test -f tmp-path1/file1'
|
||||||
|
|
||||||
|
test_done
|
||||||
|
|
|
@ -66,3 +66,5 @@ test_expect_success \
|
||||||
--exclude-from=.git/ignore \
|
--exclude-from=.git/ignore \
|
||||||
>output &&
|
>output &&
|
||||||
diff -u expect output'
|
diff -u expect output'
|
||||||
|
|
||||||
|
test_done
|
||||||
|
|
|
@ -30,3 +30,5 @@ do
|
||||||
"git-apply <diff.$i-$j && diff frotz.$j frotz"
|
"git-apply <diff.$i-$j && diff frotz.$j frotz"
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
||||||
|
test_done
|
||||||
|
|
|
@ -52,3 +52,5 @@ test_expect_success \
|
||||||
git-send-pack --force ./victim/.git/ master &&
|
git-send-pack --force ./victim/.git/ master &&
|
||||||
cmp victim/.git/refs/heads/master .git/refs/heads/master
|
cmp victim/.git/refs/heads/master .git/refs/heads/master
|
||||||
'
|
'
|
||||||
|
|
||||||
|
test_done
|
||||||
|
|
Loading…
Reference in a new issue