]> git.ipfire.org Git - thirdparty/git.git/commit - t/t4153-am-resume-override-opts.sh
tests: teach callers of test_i18ngrep to use test_grep
authorJunio C Hamano <gitster@pobox.com>
Tue, 31 Oct 2023 05:23:30 +0000 (14:23 +0900)
committerJunio C Hamano <gitster@pobox.com>
Thu, 2 Nov 2023 08:13:44 +0000 (17:13 +0900)
commit6789275d3780bcb950e6be8557aeedf160d4ad6d
tree24c1fcc6ee63c63284e507b05e3332eb6f6d5537
parent2e87fca189e613912b085c5140312b1f4b3f2977
tests: teach callers of test_i18ngrep to use test_grep

They are equivalents and the former still exists, so as long as the
only change this commit makes are to rewrite test_i18ngrep to
test_grep, there won't be any new bug, even if there still are
callers of test_i18ngrep remaining in the tree, or when merged to
other topics that add new uses of test_i18ngrep.

This patch was produced more or less with

    git grep -l -e 'test_i18ngrep ' 't/t[0-9][0-9][0-9][0-9]-*.sh' |
    xargs perl -p -i -e 's/test_i18ngrep /test_grep /'

and a good way to sanity check the result yourself is to run the
above in a checkout of c4603c1c (test framework: further deprecate
test_i18ngrep, 2023-10-31) and compare the resulting working tree
contents with the result of applying this patch to the same commit.
You'll see that test_i18ngrep in a few t/lib-*.sh files corrected,
in addition to the manual reproduction.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
225 files changed:
contrib/mw-to-git/t/t9363-mw-to-git-export-import.sh
t/lib-httpd.sh
t/lib-submodule-update.sh
t/t0001-init.sh
t/t0002-gitfile.sh
t/t0003-attributes.sh
t/t0008-ignores.sh
t/t0012-help.sh
t/t0013-sha1dc.sh
t/t0014-alias.sh
t/t0021-conversion.sh
t/t0028-working-tree-encoding.sh
t/t0040-parse-options.sh
t/t0041-usage.sh
t/t0061-run-command.sh
t/t0070-fundamental.sh
t/t0091-bugreport.sh
t/t0300-credentials.sh
t/t1060-object-corruption.sh
t/t1091-sparse-checkout-builtin.sh
t/t1092-sparse-checkout-compatibility.sh
t/t1300-config.sh
t/t1307-config-blob.sh
t/t1308-config-set.sh
t/t1309-early-config.sh
t/t1310-config-default.sh
t/t1400-update-ref.sh
t/t1404-update-ref-errors.sh
t/t1410-reflog.sh
t/t1416-ref-transaction-hooks.sh
t/t1430-bad-ref-name.sh
t/t1450-fsck.sh
t/t1506-rev-parse-diagnosis.sh
t/t1512-rev-parse-disambiguation.sh
t/t2004-checkout-cache-temp.sh
t/t2006-checkout-index-basic.sh
t/t2010-checkout-ambiguous.sh
t/t2018-checkout-branch.sh
t/t2019-checkout-ambiguous-ref.sh
t/t2020-checkout-detach.sh
t/t2024-checkout-dwim.sh
t/t2025-checkout-no-overlay.sh
t/t2026-checkout-pathspec-file.sh
t/t2027-checkout-track.sh
t/t2030-unresolve-info.sh
t/t2072-restore-pathspec-file.sh
t/t2106-update-index-assume-unchanged.sh
t/t2107-update-index-basic.sh
t/t2203-add-intent.sh
t/t2204-add-ignored.sh
t/t2401-worktree-prune.sh
t/t2402-worktree-list.sh
t/t2403-worktree-move.sh
t/t2406-worktree-repair.sh
t/t3004-ls-files-basic.sh
t/t3007-ls-files-recurse-submodules.sh
t/t3200-branch.sh
t/t3202-show-branch.sh
t/t3206-range-diff.sh
t/t3210-pack-refs.sh
t/t3301-notes.sh
t/t3310-notes-merge-manual-resolve.sh
t/t3320-notes-merge-worktrees.sh
t/t3321-notes-stripspace.sh
t/t3400-rebase.sh
t/t3402-rebase-merge.sh
t/t3403-rebase-skip.sh
t/t3404-rebase-interactive.sh
t/t3406-rebase-message.sh
t/t3418-rebase-continue.sh
t/t3431-rebase-fork-point.sh
t/t3501-revert-cherry-pick.sh
t/t3507-cherry-pick-conflict.sh
t/t3510-cherry-pick-sequence.sh
t/t3600-rm.sh
t/t3601-rm-pathspec-file.sh
t/t3700-add.sh
t/t3701-add-interactive.sh
t/t3704-add-pathspec-file.sh
t/t3900-i18n-commit.sh
t/t3901-i18n-patch.sh
t/t3903-stash.sh
t/t3905-stash-include-untracked.sh
t/t3909-stash-pathspec-file.sh
t/t4001-diff-rename.sh
t/t4013-diff-various.sh
t/t4014-format-patch.sh
t/t4015-diff-whitespace.sh
t/t4018-diff-funcname.sh
t/t4031-diff-rewrite-binary.sh
t/t4047-diff-dirstat.sh
t/t4053-diff-no-index.sh
t/t4055-diff-context.sh
t/t4068-diff-symmetric-merge-base.sh
t/t4115-apply-symlink.sh
t/t4120-apply-popt.sh
t/t4122-apply-symlink-inside.sh
t/t4129-apply-samemode.sh
t/t4133-apply-filenames.sh
t/t4150-am.sh
t/t4151-am-abort.sh
t/t4153-am-resume-override-opts.sh
t/t4200-rerere.sh
t/t4201-shortlog.sh
t/t4202-log.sh
t/t4203-mailmap.sh
t/t4208-log-magic-pathspec.sh
t/t4209-log-pickaxe.sh
t/t4211-line-log.sh
t/t4212-log-corrupt.sh
t/t4256-am-format-flowed.sh
t/t5300-pack-object.sh
t/t5302-pack-index.sh
t/t5304-prune.sh
t/t5310-pack-bitmaps.sh
t/t5318-commit-graph.sh
t/t5319-multi-pack-index.sh
t/t5324-split-commit-graph.sh
t/t5331-pack-objects-stdin.sh
t/t5411/test-0026-push-options.sh
t/t5411/test-0027-push-options--porcelain.sh
t/t5500-fetch-pack.sh
t/t5504-fetch-receive-strict.sh
t/t5505-remote.sh
t/t5510-fetch.sh
t/t5512-ls-remote.sh
t/t5514-fetch-multiple.sh
t/t5516-fetch-push.sh
t/t5520-pull.sh
t/t5521-pull-options.sh
t/t5523-push-upstream.sh
t/t5528-push-default.sh
t/t5530-upload-pack-error.sh
t/t5531-deep-submodule-push.sh
t/t5534-push-signed.sh
t/t5536-fetch-conflicts.sh
t/t5541-http-push-smart.sh
t/t5545-push-options.sh
t/t5550-http-fetch-dumb.sh
t/t5551-http-fetch-smart.sh
t/t5570-git-daemon.sh
t/t5572-pull-submodule.sh
t/t5573-pull-verify-signatures.sh
t/t5574-fetch-output.sh
t/t5580-unc-paths.sh
t/t5601-clone.sh
t/t5604-clone-reference.sh
t/t5606-clone-options.sh
t/t5607-clone-bundle.sh
t/t5611-clone-config.sh
t/t5616-partial-clone.sh
t/t5701-git-serve.sh
t/t5702-protocol-v2.sh
t/t5703-upload-pack-ref-in-want.sh
t/t5704-protocol-violations.sh
t/t5801-remote-helpers.sh
t/t5812-proto-disable-http.sh
t/t6001-rev-list-graft.sh
t/t6021-rev-list-exclude-hidden.sh
t/t6030-bisect-porcelain.sh
t/t6040-tracking-info.sh
t/t6050-replace.sh
t/t6102-rev-list-unexpected-objects.sh
t/t6112-rev-list-filters-objects.sh
t/t6120-describe.sh
t/t6134-pathspec-in-submodule.sh
t/t6135-pathspec-with-attrs.sh
t/t6136-pathspec-in-bare.sh
t/t6402-merge-rename.sh
t/t6422-merge-rename-corner-cases.sh
t/t6423-merge-rename-directories.sh
t/t6424-merge-unrelated-index-changes.sh
t/t6425-merge-rename-delete.sh
t/t6426-merge-skip-unneeded-updates.sh
t/t6430-merge-recursive.sh
t/t6433-merge-toplevel.sh
t/t6436-merge-overwrite.sh
t/t6437-submodule-merge.sh
t/t6500-gc.sh
t/t7001-mv.sh
t/t7105-reset-patch.sh
t/t7106-reset-unborn-branch.sh
t/t7107-reset-pathspec-file.sh
t/t7110-reset-merge.sh
t/t7201-co.sh
t/t7300-clean.sh
t/t7400-submodule-basic.sh
t/t7403-submodule-sync.sh
t/t7406-submodule-update.sh
t/t7411-submodule-config.sh
t/t7414-submodule-mistakes.sh
t/t7416-submodule-dash-url.sh
t/t7417-submodule-path-url.sh
t/t7450-bad-git-dotfiles.sh
t/t7500-commit-template-squash-signoff.sh
t/t7501-commit-basic-functionality.sh
t/t7502-commit-porcelain.sh
t/t7506-status-submodule.sh
t/t7507-commit-verbose.sh
t/t7508-status.sh
t/t7509-commit-authorship.sh
t/t7518-ident-corner-cases.sh
t/t7519-status-fsmonitor.sh
t/t7520-ignored-hook-warning.sh
t/t7525-status-rename.sh
t/t7526-commit-pathspec-file.sh
t/t7600-merge.sh
t/t7601-merge-pull-config.sh
t/t7611-merge-abort.sh
t/t7612-merge-verify-signatures.sh
t/t7703-repack-geometric.sh
t/t7800-difftool.sh
t/t7810-grep.sh
t/t7811-grep-open.sh
t/t7814-grep-recurse-submodules.sh
t/t7816-grep-binary-pattern.sh
t/t7900-maintenance.sh
t/t8003-blame-corner-cases.sh
t/t8013-blame-ignore-revs.sh
t/t9001-send-email.sh
t/t9300-fast-import.sh
t/t9800-git-p4-basic.sh
t/t9801-git-p4-branch.sh
t/t9807-git-p4-submit.sh
t/t9815-git-p4-submit-fail.sh