develooper Front page | perl.perl5.porters | Postings from May 2019

[perl #133754] Test failures on Windows with 8.3 filenames disabled

Thread Next
From:
Steve Hay via RT
Date:
May 31, 2019 19:48
Subject:
[perl #133754] Test failures on Windows with 8.3 filenames disabled
Message ID:
rt-4.0.24-19120-1559332115-912.133754-15-0@perl.org
On Sat, 25 May 2019 15:35:50 -0700, rich@hyphen-dash-hyphen.info wrote:
> On Thu, Apr 4, 2019 at 9:02 PM Richard Leach
> <rich@hyphen-dash-hyphen.info> wrote:
> > Just noticed that this is also mentioned in a pending pull request:
> > https://github.com/perl-
> > libwin32/win32/pull/12/commits/7cf0da647c973a64ccc120dd81749e7494930193
> 
> Coming back to this, is the ideal approach here (1) wchristian's patch
> at the above link (2) some kind of SKIP tests if short paths aren't
> present (3) add a probe for ntifs.h and add support for retrieving
> FILE_FS_PERSISTENT_VOLUME_INFORMATION.
> 
> Asking 'cos if not (1), then I'm prepared to have a go at it.
> 

All 3? ;-)

(3) would be useful to decide which test to perform in GetShortPathName.t (i.e. do the current test if 8.3 is supported, change to the simplified test in wchristian's patch if not).
(2) would be needed for the other failing tests if 8.3 is not supported (or perhaps conditionally change the test being done, like in (1), rather than skipping completely?).
(1) has a useful documentation update that ought to go in either way.

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=133754

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About