]> git.ipfire.org Git - thirdparty/git.git/commit
t9902: verify that completion does not print anything
authorPatrick Steinhardt <ps@pks.im>
Mon, 15 Jan 2024 10:36:02 +0000 (11:36 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 16 Jan 2024 17:18:20 +0000 (09:18 -0800)
commit6807d3942c6104b32f6c7e04c1f7b5d2c82afa30
tree7bd0c8a8b34adfb032b13f1e6a9175d53dde877a
parent3bf5ccf429561a1fbd64cc55b771e31aae15065c
t9902: verify that completion does not print anything

The Bash completion script must not print anything to either stdout or
stderr. Instead, it is only expected to populate certain variables.
Tighten our `test_completion ()` test helper to verify this requirement.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9902-completion.sh