summaryrefslogtreecommitdiffstats
path: root/hash.h
diff options
context:
space:
mode:
authorSZEDER Gábor <szeder.dev@gmail.com>2018-06-04 15:39:25 +0200
committerJunio C Hamano <gitster@pobox.com>2018-06-11 19:19:03 +0200
commit9dd39821e3d0adf3f160642589291965c73a529e (patch)
tree9e99c4034552454e675a688d824f1b508eb1f5ce /hash.h
parentGit 2.18-rc1 (diff)
downloadgit-9dd39821e3d0adf3f160642589291965c73a529e.tar.xz
git-9dd39821e3d0adf3f160642589291965c73a529e.zip
t7510-signed-commit: use 'test_must_fail'
The two tests 'detect fudged signature' and 'detect fudged signature with NUL' in 't7510-signed-commit.sh' check that 'git verify-commit' errors out when encountering a forged commit, but they do so by running ! git verify-commit ... Use 'test_must_fail' instead, because that would catch potential unexpected errors like a segfault as well. Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'hash.h')
0 files changed, 0 insertions, 0 deletions