]> git.ipfire.org Git - thirdparty/git.git/commit
test-lib: consolidate naming of test-results paths
authorSZEDER Gábor <szeder.dev@gmail.com>
Sat, 5 Jan 2019 01:08:56 +0000 (02:08 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Jan 2019 17:24:05 +0000 (09:24 -0800)
commit62c379b8d4b56df94c79ca06e5aceff45f617901
treea697994ecb01b86f91800d5ce27594ccdc43af68
parent8cf5800681a6f7c3324f835673974e39e598d1b5
test-lib: consolidate naming of test-results paths

There are two places where we strip off any leading path components
and the '.sh' suffix from the test script's pathname, and there are
four places where we construct the name of the 't/test-results'
directory or the name of various test-specific files in there.  The
last patch in this series will add even more.

Factor these out into helper variables to avoid repeating ourselves.

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