Subject: | Test suite fails on some systems |
Some of my smoker systems (fedora 28, freebsd 11) report test failures:
...
t/02_pcre2_config.t ..
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 5/28 subtests
(less 4 skipped subtests: 19 okay)
# Failed test 'Command `pcre2grep --version` runs'
# at t/03_pcre2grep.t line 17.
# command not found
<<< DEBUG >>> in t/03_pcre2grep.t, have $run_object->out() = $VAR1 = '';
<<< DEBUG >>> in t/03_pcre2grep.t, have $run_object->err() = $VAR1 = '';
# Failed test 'Command `pcre2grep --version` runs successfully'
# at t/03_pcre2grep.t line 20.
# command not found
# Failed test 'Command `pcre2grep --version` output starts correctly'
# at t/03_pcre2grep.t line 21.
# +-----+----+---------------------------+
# | GOT | OP | CHECK |
# +-----+----+---------------------------+
# | | eq | pcre2grep version\N{U+20} |
# +-----+----+---------------------------+
# Failed test 'Command `pcre2grep --version` runs with valid output'
# at t/03_pcre2grep.t line 23.
Use of uninitialized value $1 in split at t/03_pcre2grep.t line 26.
<<< DEBUG >>> in t/03_pcre2grep.t, have $version_split = $VAR1 = [];
Use of uninitialized value in addition (+) at t/03_pcre2grep.t line 28.
<<< DEBUG >>> in t/03_pcre2grep.t, have $version_split_0 = '0'
# Failed test 'Command `pcre2grep --version` returns major version 10 or newer'
# at t/03_pcre2grep.t line 30.
# +-----+----+-------+
# | GOT | OP | CHECK |
# +-----+----+-------+
# | 0 | >= | 10 |
# +-----+----+-------+
# Failed test 'Command `pcre2grep Thursday t/_DaysOfTheWeek.txt` runs'
# at t/03_pcre2grep.t line 37.
# command not found
<<< DEBUG >>> in t/03_pcre2grep.t, have $run_object->out() = $VAR1 = '';
<<< DEBUG >>> in t/03_pcre2grep.t, have $run_object->err() = $VAR1 = '';
# Failed test 'Command `pcre2grep Thursday t/_DaysOfTheWeek.txt` runs successfully'
# at t/03_pcre2grep.t line 40.
# command not found
# Failed test '`pcre2grep Thursday t/_DaysOfWeek.txt` 1 line of output is valid'
# at t/03_pcre2grep.t line 41.
# +-----+----+------------------------------------+
# | GOT | OP | CHECK |
# +-----+----+------------------------------------+
# | | eq | Thursday, Thor's (Jupiter's) Day\n |
# +-----+----+------------------------------------+
# Did not follow plan: expected 10, ran 9.
# Seeded srand with seed '20181130' from local date.
t/03_pcre2grep.t .....
Dubious, test returned 8 (wstat 2048, 0x800)
Failed 9/10 subtests
...