Subject: | Four tests fail if module is unpacked to /tmp and tested -- with patches |
I downloaded and built this module in /tmp, but found that the tests
were all failing to get to the test files. Also, the path to the test
files was getting mangled .. the tests were looking for
"file://mp/SOAP-WSDL-1.25/t/acceptance/helloworld.asmx.xml" when they
should have been looking for
"file://tmp/SOAP-WSDL-1.25/t/acceptance/helloworld.asmx.xml".
So I replaced "$dir=~s|/t/?||;" with "$dir=~s|(.)/t/?|$1|;" in
1_performance.t (line 24), 2_helloworld.NET.t (line 37), 3_various.t
(line 21) and 4_auto_set_port.t (line 35). After these changes, all
tests passed. (OK, 2_helloworld.NET.t used / instead of | -- might was
well make that the same as the others.)
I'm running Fedora Core 6, kernel 2.6.18-1.2868.fc6.