Subject: | tests fail |
In perl v5.8.7 for WinXP: 7 tests fail out of 15
{kelem-laptop:skelem:294} perl pod2usage2.t
1..15
ok 1 - use Pod::Usage;
#EXIT=2 OUTPUT=+++##Usage:
# frobnicate [ -r | --recursive ] [ -f | --force ] [ -n *number* ] *file*
# ...
#
#+++
ok 2 - Exit status pod2usage ()
not ok 3 - Output test pod2usage ()
# Failed test 'Output test pod2usage ()'
# in pod2usage2.t at line 51.
#EXIT=1 OUTPUT=+++##You naughty person, what did you say?
#Usage:
# frobnicate [ -r | --recursive ] [ -f | --force ] [ -n *number* ] *file*
# ...
#
#Options:
# -r | --recursive
# Run recursively.
#
# -f | --force
# Just do it!
#
# -n *number*
# Specify number of frobs, default is 42.
#
#+++
ok 4 - Exit status pod2usage (-message => '...', -verbose => 1)
not ok 5 - Output test pod2usage (-message => '...', -verbose => 1)
# Failed test 'Output test pod2usage (-message => '...', -verbose => 1)'
# in pod2usage2.t at line 61.
#EXIT=42 OUTPUT=+++##+++
ok 6 - Exit status pod2usage (-verbose => 2, -exit => 42)
not ok 7 - Output test pod2usage (-verbose => 2, -exit => 42)
# Failed test 'Output test pod2usage (-verbose => 2, -exit => 42)'
# in pod2usage2.t at line 81.
#EXIT=2 OUTPUT=+++##Usage:
# frobnicate [ -r | --recursive ] [ -f | --force ] [ -n *number* ] *file*
# ...
#
#+++
not ok 8 - Exit status pod2usage (0)
# Failed test 'Exit status pod2usage (0)'
# in pod2usage2.t at line 104.
# got: '2'
# expected: '0'
not ok 9 - Output test pod2usage (0)
# Failed test 'Output test pod2usage (0)'
# in pod2usage2.t at line 105.
#EXIT=42 OUTPUT=+++##Usage:
# frobnicate [ -r | --recursive ] [ -f | --force ] [ -n *number* ] *file*
# ...
#
#+++
ok 10 - Exit status pod2usage (42)
not ok 11 - Output test pod2usage (42)
# Failed test 'Output test pod2usage (42)'
# in pod2usage2.t at line 123.
#EXIT=0 OUTPUT=+++##Usage:
# frobnicate [ -r | --recursive ] [ -f | --force ] [ -n *number* ] *file*
# ...
#
#--NORMAL-RETURN--
#+++
ok 12 - Exit status pod2usage (-verbose => 0, -exit => 'NOEXIT')
not ok 13 - Output test pod2usage (-verbose => 0, -exit => 'NOEXIT')
# Failed test 'Output test pod2usage (-verbose => 0, -exit => 'NOEXIT')'
# in pod2usage2.t at line 131.
#EXIT=1 OUTPUT=+++##Description:
# frobnicate does foo and bar and what not.
#
#+++
ok 14 - Exit status pod2usage (-verbose => 99, -sections => 'DESCRIPTION')
ok 15 - Output test pod2usage (-verbose => 99, -sections => 'DESCRIPTION')
# Looks like you failed 7 tests of 15.