]> git.ipfire.org Git - thirdparty/git.git/commit
t: refactor tests depending on Perl transliteration operator
authorPatrick Steinhardt <ps@pks.im>
Thu, 3 Apr 2025 05:06:01 +0000 (07:06 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Apr 2025 21:47:38 +0000 (14:47 -0700)
commitdb8ff64a3a5244b44e27e0d46a48a304a2e36456
tree25af3e5f4f6d9b274297827c6c5b8007ddb7748e
parent8d531a9d18d658f696de5a71458e832317b7ca5a
t: refactor tests depending on Perl transliteration operator

We have a bunch of tests that use Perl to perform character
transliteration via the "y/" or "tr/" operator. These usecases can be
trivially replaced with tr(1).

Refactor the tests accordingly so that we can drop a couple of
PERL_TEST_HELPERS prerequisites.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/helper/test-sha1.sh
t/lib-diff.sh
t/t3300-funny-names.sh
t/t4020-diff-external.sh
t/t4103-apply-binary.sh
t/t4116-apply-reverse.sh
t/t4200-rerere.sh