> From: Gavin Smith <[email protected]>
> Date: Thu, 15 Jan 2026 16:51:45 +0000
> Cc: [email protected], [email protected]
> 
> > The following 2 tests in info/t/ failed:
> > 
> >      FAIL: t/dir-file-sloppily.sh
> >      FAIL: t/dir-no-file.sh
> > 
> > These succeeded in Texinfo 7.2, so it's probably due to some change in
> > the implementation.  But I cannot figure out where to look: other
> > tests that use INFO_PRINT_COMMAND succeed.  Any pointers?
> 
> There are log files under t/dir-file-sloppily.sh.log etc that may give
> clues.

Yes, looked there already.  All I see is this:

  + grep '^File: file-menu,'
  FAIL t/dir-file-sloppily.sh (exit status: 1)

which AFAIU means Grep didn't find the string it looked for in the
Info file produced by the test.  But I have no idea why that happened.

> > Also, how do I run a test so that the output file(s) are not deleted?
> 
> There isn't an "output file" as such for all the tests.  All the tests
> are different.
> 
> You can see what the test does by looking at the contents of the
> test script.

I guess I'm missing something, then, because the test script does
this:

  srcdir=${srcdir:-.}
  . $srcdir/t/Init-test.inc

  # Follow an reference to "file-menu" in dir without matching label exactly
  $ginfo --output - FiLe-M | grep "^File: file-menu,"

I understand that the Info file it uses is infodir/dir, is that
correct (even this was something it took a lot of time to understand)?
But then what is "FiLe-M" in the above command?

Thanks.

Reply via email to