Skip Menu |
 

This queue is for tickets about the Inline-Files CPAN distribution.

Report information
The Basics
Id: 104655
Status: patched
Priority: 0/
Queue: Inline-Files

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

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



Subject: "superuser" test is not working on Cygwin
Download (untitled) / with headers
text/plain 253b
The test for "superuser" doesn't work on Cygwin and consequently produces spurious test fails. Unless the test who is "superuser" gets more specific, just skip those tests on Cygwin (Windows is likely to have the same issue, but I've not tested that).
Subject: perl-Inline-Files.src.patch
--- origsrc/Inline-Files-0.68/tests/03nowrite.t 2011-07-08 12:38:30.000000000 +0200 +++ src/Inline-Files-0.68/tests/03nowrite.t 2015-05-23 20:49:19.530788100 +0200 @@ -32,7 +32,7 @@ use Inline::Files; my $text = <FILE>; close FILE; skip( - $> == 0 ? "Skip if run by superuser" : 0, + ( $> == 0 || $^O eq 'cygwin' ) ? "Skip if run by superuser" : 0, $text !~ /__MYFILE__\nNew stuff\n$/ ); }
Download (untitled) / with headers
text/plain 470b
On Sun May 24 06:16:55 2015, https://me.yahoo.com/howdidwegetherereally#f714d wrote: Show quoted text
> The test for "superuser" doesn't work on Cygwin and consequently > produces spurious test fails. Unless the test who is "superuser" gets > more specific, just skip those tests on Cygwin (Windows is likely to > have the same issue, but I've not tested that).
Fixed (I think) it. If you can test version 0.69 and reopen a ticket in case it doesn't work, I am grateful. Cheers ambs
Download (untitled) / with headers
text/plain 226b
On Sun May 24 06:43:38 2015, AMBS wrote: Show quoted text
> Fixed (I think) it. > If you can test version 0.69 and reopen a ticket in case it doesn't > work, I am grateful.
Works wonderfully now and I can drop another local patch. Thank you!


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.