]> git.ipfire.org Git - thirdparty/git.git/commit
ci: add missing dependency for TTY prereq
authorPatrick Steinhardt <ps@pks.im>
Mon, 27 May 2024 11:45:47 +0000 (13:45 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 May 2024 18:19:57 +0000 (11:19 -0700)
commit9fd369377db221a2b9fe15fd55678bfb8372dd95
tree8f5955ac28898abb9f67bef30031e0e86ca108b9
parent4365c6fcf96caac73dcc412aa25db34cf8df48d5
ci: add missing dependency for TTY prereq

In "t/lib-terminal.sh", we declare a lazy prerequisite for tests that
require a TTY. The prerequisite uses a Perl script to figure out whether
we do have a usable TTY or not and thus implicitly depends on the PERL
prerequisite, as well. Furthermore though, the script requires another
dependency that is easy to miss, namely on the IO::Pty module. If that
module is not installed, then the script will exit early due to an
reason unrelated to missing TTYs.

This easily leads to missing test coverage. But most importantly, our CI
systems are missing this dependency and thus don't execute those tests
at all. Fix this.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
ci/install-dependencies.sh