Skip Menu |

This queue is for tickets about the POSIX-SchedYield CPAN distribution.

Report information
The Basics
Id: 117579
Status: new
Priority: 0/
Queue: POSIX-SchedYield

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: Wrong perl used in test
t/10-sched_yield.t fails on most platforms because the wrong perl (system perl) is used. The following patch fixes the problem: diff --git a/t/10-sched_yield.t b/t/10-sched_yield.t index 2ba78a6..bf7ad1f 100644 --- a/t/10-sched_yield.t +++ b/t/10-sched_yield.t @@ -22,7 +22,7 @@ if ($^O =~ m/linux/) { SKIP: { skip "cannot trace on this platform or trace binary not found ",1 if (!defined $binary); - $strace = "$binary perl examples/yield.pl 2>&1"; + $strace = "$binary $^X examples/yield.pl 2>&1"; like (`$strace`,qr/sched_yield/,"strace reports system call executed"); }