Subject: | t/02_bc is *NOT* compatible |
Not all unixes are Linux, not all bc is the one shipped on Linux:
The bc tests fail on ALL HP-UX fro 10.20 to 11.31 on both Itanium and PA_RISC)
$ perl Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Expect
Writing MYMETA.yml and MYMETA.json
$ make test
:
Test Summary Report
-------------------
t/02-bc.t (Wstat: 512 Tests: 2 Failed: 2)
Failed tests: 1-2
Non-zero exit status: 2
Files=6, Tests=99, 81 wallclock secs ( 0.17 usr 0.04 sys + 1.62 cusr 0.63 csys = 2.46 CPU)
Result: FAIL
Failed 1/6 test programs. 2/99 subtests failed.
$ prove -vwb t/02-bc.t
t/02-bc.t ..
1..2
/usr/bin/bc: illegal option -- v
# Subtest: raw_pty_bc
1..3
# --------- bc version on hpux
#
# ---------
not ok 1 - warranty found
# Failed test 'warranty found'
# at t/02-bc.t line 47.
#
not ok 1 - raw_pty_bc
# Subtest: pty_bc
1..6
# Looks like you planned 3 tests but ran 1.
# Looks like you failed 1 test of 1 run.
# Failed test 'raw_pty_bc'
# at t/02-bc.t line 61.
not ok 1 - warranty found
# Failed test 'warranty found'
# at t/02-bc.t line 74.
#
not ok 2 - pty_bc
# Looks like you planned 6 tests but ran 1.
# Looks like you failed 1 test of 1 run.
# Failed test 'pty_bc'
# at t/02-bc.t line 97.
# Looks like you failed 2 tests of 2.
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests
Test Summary Report
-------------------
t/02-bc.t (Wstat: 512 Tests: 2 Failed: 2)
Failed tests: 1-2
Non-zero exit status: 2
Files=1, Tests=2, 3 wallclock secs ( 0.08 usr 0.01 sys + 0.18 cusr 0.07 csys = 0.34 CPU)
Result: FAIL