Subject: | Tests may fail because of localized error messages |
If a German locale is in effect (i.e. LC_ALL=de_DE.UTF-8), then I see the following test failure:
...
# Failed test 'Could not connect -- wrong credentials given to Makefile.PL?'
# at t/01-connect-event.t line 50.
# 'Can't connect to MySQL server on '127.0.0.1' (111 "Verbindungsaufbau abgelehnt") at /home/cpansand/.cpan/build/2018032118/MariaDB-NonBlocking-0.14-0/blib/lib/MariaDB/NonBlocking/Event.pm line 395.
# at t/01-connect-event.t line 44.
# '
# doesn't match '(?^:Access denied)'
# Looks like you failed 1 test of 4.
t/01-connect-event.t .........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests
...
Actually "Verbindungsaufbau abgelehnt" means something like "Connection denied", which is not the same as "Access denied" --- so here's also another problem involved. But even with this problem solved it would fail with a non-English locale.