Source: unibilium
Version: 2.1.0-1
The parse-terminfo autopkgtest uses a wrong directory for terminfo files
below /usr:
,----
| for term in ansi xterm screen rxvt-unicode; do
| libterm=/lib/terminfo/${term%${term#?}}/${term}
| usrterm=/usr/${libterm}
`----
The (bulk of the) terminfo database is located below /usr/share/terminfo
rather than /usr/lib/terminfo. For now this does not matter as we
install the basic terminfo files in ncurses-base under /lib/terminfo,
but after the Bookworm release I plan to relocate them to
/usr/share/terminfo, see https://bugs.debian.org/1028202. Once that
happens, your test will still succeed but not do anything, if I read it
correctly.
There is also a flawed logic in the parse-terminfo script, it expects
that any foo-256color terminfo entry is located at the same place as its
foo counterpart. For the terminfo entries tested this currently holds
true, but it is not guaranteed as long as the terminfo files are split
among multiple directories.