]> git.ipfire.org Git - thirdparty/git.git/commit - t/t6120-describe.sh
t6120-describe: modernize the 'check_describe' helper
authorSZEDER Gábor <szeder.dev@gmail.com>
Tue, 12 Nov 2019 10:38:10 +0000 (11:38 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 6 Dec 2019 21:28:55 +0000 (13:28 -0800)
commitc593a2634837234c91afc875cb569a53fbaadbfb
tree4e1799a42dae4b724209a829bae8684250359c2e
parentd91ce887c936affbbf24ab2461d924ad1c6eefc7
t6120-describe: modernize the 'check_describe' helper

The 'check_describe' helper function runs 'git describe' outside of
'test_expect_success' blocks, with extra hand-rolled code to record
and examine its exit code.

Update this helper and move the 'git describe' invocation inside the
'test_expect_success' block.

Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t6120-describe.sh