Subject: | Tests fail in Perls before 5.14 due to "package okayer {" syntax |
Similarly to RT#87446 t/01_timeouts.t used the "package okayer {" syntax which is only valid in Perl 5.14 and later:
$ ./Build test
t/01_timeouts.t .. Invalid version format (non-numeric data) at t/01_timeouts.t line 10, near "package okayer "
syntax error at t/01_timeouts.t line 11, near "package okayer { "
Execution of t/01_timeouts.t aborted due to compilation errors.
t/01_timeouts.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
changing "package okayer {" to "{ package okayer; " allows the tests to succeed
$ ./Build test
t/01_timeouts.t .. Invalid version format (non-numeric data) at t/01_timeouts.t line 10, near "package okayer "
syntax error at t/01_timeouts.t line 11, near "package okayer { "
Execution of t/01_timeouts.t aborted due to compilation errors.
t/01_timeouts.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
changing "package okayer {" to "{ package okayer; " allows the tests to succeed