Subject: | xs/sc_ssl/t/1_fork.t fails due to relative path to certificate files |
Hi,
make test fails (xs/sc_ssl/t/1_fork.t) due to dependancy on $CWD: "no
such file or directory".
I changed the path to the certificates in the test's following lines:
$s = Socket::Class::SSL->new(
'certificate' => 'xs/sc_ssl/cert/server.crt',
'private_key' => 'xs/sc_ssl/cert/server.key',
'local_addr' => '127.0.0.1',
'listen' => 10,
'reuseaddr' => 1,
) or die Socket::Class->error();
but this is only a workaround. Maybe you should use $^X or $FindBin
Cheers