Subject: | Tests fail (because system perl is used?) |
t/app-static.t and t/app.t fail on most smoker systems: http://analysis.cpantesters.org/solved?distv=W3C-SOAP-WADL-0.007
It seems this happens because the daemon runs with system perl, not the currently perl in use. This could be fixed by using $^X e.g. something like:
diff --git a/t/app-static.t b/t/app-static.t
index ca8078e..8f7b0b7 100644
--- a/t/app-static.t
+++ b/t/app-static.t
@@ -28,7 +28,7 @@ elsif ( !$pid ) {
open STDOUT, '>', '/dev/null';
$ENV{PORT} = $port;
- exec $app, 'daemon', '--listen', "http://*:$port";
+ exec $^X, $app, 'daemon', '--listen', "http://*:$port";
}
sleep 1;