bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
* canonicalize test failures on Cygwin
@ 2021-01-17 16:04 Bruno Haible
  2021-01-17 22:01 ` Paul Eggert
  2021-01-18  1:45 ` Ken Brown
  0 siblings, 2 replies; 6+ messages in thread
From: Bruno Haible @ 2021-01-17 16:04 UTC (permalink / raw)
  To: bug-gnulib, Paul Eggert

Hi Paul,

Some of the new tests that you added to test-canonicalize.c and
test-canonicalize-lgpl.c on 2020-12-24 fail on Cygwin 2.9:

  /* Check that a non-directory symlink with trailing slash yields NULL,
     and likewise for other troublesome suffixes.  */
  {
    char const *const file_name[]
      = {
         BASE "/huk/",
         BASE "/huk/.",
         BASE "/huk/./",
         BASE "/huk/./.",
         BASE "/huk/x",
         BASE "/huk/..",
         BASE "/huk/../",
         BASE "/huk/../.",
         BASE "/huk/../x",
         BASE "/huk/./..",
         BASE "/huk/././../x",
        };
    for (int i = 0; i < sizeof file_name / sizeof *file_name; i++)
      {
        ...

The tests in the 'for' loop fail for i = 5 ... 10. That is, something
with the ".." handling is not working as expected.

Do you have access to a Cygwin machine for investigation?

Bruno



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-01-21 20:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-17 16:04 canonicalize test failures on Cygwin Bruno Haible
2021-01-17 22:01 ` Paul Eggert
2021-01-18  1:45 ` Ken Brown
2021-01-20  8:31   ` Bruno Haible
2021-01-21 18:19     ` Ken Brown
2021-01-21 20:29       ` Bruno Haible

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).