Skip Menu |

This queue is for tickets about the File-Path CPAN distribution.

Report information
The Basics
Id: 105525
Status: resolved
Priority: 0/
Queue: File-Path

People
Owner: RICHE [...] cpan.org
Requestors: jkeen [...] verizon.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: t/Path.t should not spew error output
Date: Sat, 27 Jun 2015 07:48:17 -0400
To: bug-File-Path [...] rt.cpan.org
From: James E Keenan <jkeen [...] verizon.net>
Running t/Path.t through 'prove', we get this output (excerpt): ##### $ prove -vb t/Path.t t/Path.t .. 1..152 ok 1 - use Cwd; ... ok 71 - mask of symlink target dir unchanged (debian bug 487319) bug487319/symlink for bug487319/symlink: No such file or directory at t/Path.t line 369. ok 72 - mask of symlink target file unchanged (debian bug 487319) ... ##### ... where the line beginning 'bug' is written to STDERR. We should diagnose why this is happening and fix it so that the test runs cleanly. Thank you very much. Jim Keenan
Subject: Re: [rt.cpan.org #105525] t/Path.t should not spew error output
Date: Sat, 27 Jun 2015 08:13:32 -0400
To: bug-File-Path [...] rt.cpan.org
From: Richard Elberger <rich [...] richelberger.com>
The directory is being set to u+rx so of course a file can’t be created in the directory, which subsequently causes the symlink failure. Show quoted text
> On Jun 27, 2015, at 7:48 AM, jkeen@verizon.net via RT <bug-File-Path@rt.cpan.org> wrote: > > Sat Jun 27 07:48:55 2015: Request 105525 was acted upon. > Transaction: Ticket created by jkeen@verizon.net > Queue: File-Path > Subject: t/Path.t should not spew error output > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: jkeen@verizon.net > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=105525 > > > > Running t/Path.t through 'prove', we get this output (excerpt): > > ##### > $ prove -vb t/Path.t > t/Path.t .. > 1..152 > ok 1 - use Cwd; > ... > ok 71 - mask of symlink target dir unchanged (debian bug 487319) > bug487319/symlink for bug487319/symlink: No such file or directory at > t/Path.t line 369. > ok 72 - mask of symlink target file unchanged (debian bug 487319) > ... > ##### > > ... where the line beginning 'bug' is written to STDERR. We should > diagnose why this is happening and fix it so that the test runs cleanly. > > Thank you very much. > Jim Keenan > >
Changed test to properly create test files. May be more proper in the future to create/remove test dirs/files in some transitory directory rather than directly in the distribution root. https://github.com/rpcme/File-Path/commit/386f894912c4b2e3de27cee66219eee6c60ce0ef