On 2018-11-18 05:04:09, SREZIC wrote:
Show quoted text> See subject. Test log:
>
> ...
> sh: 1: mysql: not found
> Died at t/testlib.pl line 179.
> sh: 1: mysql: not found
> Died at t/testlib.pl line 179.
> END failed--call queue aborted.
> # Looks like your test exited with 22 just after 1.
> t/20-util.t .......
> Dubious, test returned 22 (wstat 5632, 0x1600)
> All 1 subtests passed
> ...
>
>
> Maybe the test should be skipped if mysql is not present, or
> alternatively the non-existence of mysql should be detected during
> Makefile.PL, so a "NA" report could be sent to CPAN Testers.
Another problematic case is when a mysql client is available, but there's no locally running mysql server:
...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Died at t/testlib.pl line 179.
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Died at t/testlib.pl line 179.
END failed--call queue aborted.
# Looks like your test exited with 22 just after 1.
t/20-util.t .......
Dubious, test returned 22 (wstat 5632, 0x1600)
All 1 subtests passed
...