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

We have a bunch of tests that use Perl to perform substitution via the
"s/" operator. These usecases can be trivially replaced with sed(1) and
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/t0008-ignores.sh
t/t4029-diff-trailing-space.sh
t/t4200-rerere.sh
t/t5303-pack-corruption-resilience.sh
t/t5310-pack-bitmaps.sh
t/t5534-push-signed.sh
t/t6011-rev-list-with-bad-commit.sh
t/t7416-submodule-dash-url.sh
t/t7508-status.sh
t/t8006-blame-textconv.sh
t/t9137-git-svn-dcommit-clobber-series.sh