Skip Menu |
 

This queue is for tickets about the Test-Harness CPAN distribution.

Report information
The Basics
Id: 59457
Status: resolved
Priority: 0/
Queue: Test-Harness

People
Owner: Nobody in particular
Requestors: avar [...] cpan.org
Cc: steve [...] purkis.ca
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 3.17_01
  • 3.17_02
  • 3.17_03
  • 3.17_04
  • 3.18
  • 3.19
  • 3.20
  • 3.21
Fixed in: (no value)



CC: Steve Purkis <steve [...] purkis.ca>
Subject: Another 3.17_01 regression: Executable tests need ./test.sh, not just test.sh
Here's another thing that broke in 3.17_01 with regards to executable tests (see RT #59186 for the other): Set up a simple .sh test: $ (echo '#!/bin/sh' && echo 'echo 1..1' && echo 'echo "ok 1 - hello"') > test.sh && chmod +x test.sh $ ./test.sh 1..1 ok 1 - hello This still works: $ prove ./test.sh ./test.sh .. ok All tests successful. Files=1, Tests=1, 0 wallclock secs ( 0.02 usr + 0.00 sys = 0.02 CPU) Result: PASS Doing test.sh without ./ worked before 3.17_01: $ prove test.sh test.sh .. open3: exec of test.sh failed at /home/avar/perl5/perlbrew/perls/perl- 5.12.1/lib/5.12.1/TAP/Parser/Iterator/Process.pm line 168 test.sh .. Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run Bisect traced it down to: 3a60b29248018ddbc0b2a88300c2901bf5784044 is the first bad commit commit 3a60b29248018ddbc0b2a88300c2901bf5784044 Author: Steve Purkis <steve@purkis.ca> Date: Sun May 17 20:46:36 2009 +0000 raw tap is now being detected through the factory. surprisingly works.
Download (untitled) / with headers
text/plain 104b
Thanks! Fixed in http://github.com/AndyA/Test- Harness/commit/6703fdc01e152df672047400364b227a172449e2
Hi, this should be fixed now.


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.