Lemonldap-NG-Handler: 2 test failures against Perl 5 blead (development version)
A change in the development branch of the Perl 5 core distribution has triggered failures in the test suite of Lemonldap-NG-Handler. As this development branch is likely to be released as perl-5.38.0 in our annual production release on or after May 20 2023, your attention to this problem is requested.
Sample CPAN testers report:
http://www.cpantesters.org/cpan/report/2cd8dd76-d6f9-11ed-8cf5-4eaba9ff8ba7
Overview of test failure reports:
http://fast-matrix.cpantesters.org/?dist=Lemonldap-NG-Handler
Extract of test failures:
Running make test for COUDOT/Lemonldap-NG-Handler-2.0.16.tar.gz
PERL_DL_NONLAZY=1 "/usr/home/jkeenan/testing/blead/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01-Lemonldap-NG-Handler-Main.t ........................... ok
[Sun Apr 9 17:08:33 2023] [LLNG:44931] [error] Bad logLevel value '', switching to 'info'
t/05-Lemonldap-NG-Handler-Reload.t ......................... ok
# Failed test 'Found correct error message'
# at t/12-Lemonldap-NG-Handler-Jail.t line 111.
# 'syntax error at (eval 52) line 1, at EOF
# Execution of (eval 52) aborted due to compilation errors.
# '
# doesn't match '(?^:Missing right curly or square bracket)'
# Looks like you failed 1 test of 22.
t/12-Lemonldap-NG-Handler-Jail.t ...........................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/22 subtests
# Failed test 'Found correct error message'
# at t/13-Lemonldap-NG-Handler-Fake-Safe.t line 104.
# 'syntax error at (eval 47) line 1, at EOF
# Execution of (eval 47) aborted due to compilation errors.
# '
# doesn't match '(?^:Missing right curly or square bracket)'
# Looks like you failed 1 test of 16.
t/13-Lemonldap-NG-Handler-Fake-Safe.t ......................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/16 subtests
t/14-Lemonldap-NG-Handler-Rule-Building.t .................. ok
...
t/99-pod.t ................................................. ok
Test Summary Report
-------------------
t/12-Lemonldap-NG-Handler-Jail.t (Wstat: 256 (exited 1) Tests: 22 Failed: 1)
Failed test: 22
Non-zero exit status: 1
t/13-Lemonldap-NG-Handler-Fake-Safe.t (Wstat: 256 (exited 1) Tests: 16 Failed: 1)
Failed test: 16
Non-zero exit status: 1
Files=25, Tests=571, 6 wallclock secs ( 0.09 usr 0.03 sys + 4.63 cusr 1.64 csys = 6.39 CPU)
Result: FAIL
Failed 2/25 test programs. 2/571 subtests failed.
*** Error code 255
This problem was originally reported on Dec 31 2022 here: https://github.com/Perl/perl5/issues/20346#issuecomment-1368210714
The change in Perl 5 blead is discussed at the top of GH 20346. My own, non-authoritative reading of that ticket suggests that, for perl-5.37.4 and later versions, you will have to modify the two test files to expect a different error message to be thrown. (Nonetheless, I applaud you for testing for error messages!)
Thank you very much.