On Thu, Jan 15, 2026 at 03:48:19PM +0200, Eli Zaretskii wrote:
> The following two tests fail in tta/tests:
>
> FAIL: test_scripts/formatting_reuse_macro_expand_file.sh
> FAIL: test_scripts/coverage_formatting_latex.sh
>
> The first one has its diffs say just this:
>
> -texi2any: warning: overwriting file:
> formatting/out_parser/reuse_macro_expand_file/simplest.info
>
> IOW, this warning was expected, but was missing. I see that this
> warning comes from texi2any.c:merge_opened_files, but I don't know how
> to investigate the reason(s) -- any hints?
It should not come from texi2any.c because that is the alternative
ctexi2any implementation that is not used by default. It should come
from tta/texi2any which is generated from tta/texi2any.pl.
There is a comment in that function which may explain the issue:
# NOTE paths are not normalized, therefore different paths names
# that refers to the same file will not trigger the message.
We have fixed test failures to do with variant file names in messages
before by simply stripping these messages from the output of the
test.