Bug#901080: libtest-differences-perl: FTBFS with Perl 5.28: t/column-headers.t failure with verbose tests

Niko Tyni ntyni at debian.org
Fri Jun 8 19:28:37 BST 2018


Source: libtest-differences-perl
Version: 0.64-1
Severity: important
User: debian-perl at lists.debian.org
Usertags: perl-5.28-transition

This package fails to build with perl 5.28.0-RC1 (currently in
experimental).

 http://perl.debian.net/rebuild-logs/perl-5.28-throwaway/libtest-differences-perl_0.64-1/libtest-differences-perl_0.64-1_amd64-2018-06-08T17:52:42Z.build

This seems to be related to verbose test output. 

$ prove -b t/column-headers.t 
t/column-headers.t .. ok   
All tests successful.
Files=1, Tests=2,  0 wallclock secs ( 0.02 usr  0.00 sys +  0.13 cusr  0.02 csys =  0.17 CPU)
Result: PASS

$ prove -v -b t/column-headers.t 
t/column-headers.t .. 
not ok 1 - got expected error output
#   Failed test 'got expected error output'
#   at t/column-headers.t line 14.
#          got: '#   Failed test 'both the same'
# #   at t/script/default-headers line 8.
# # +----+----------------+----------------+
# # | Elt|Got             |Expected        |
# # +----+----------------+----------------+
# # |   0|{               |{               |
# # *   1|  foo => 'bar'  |  foo => 'baz'  *
# # |   2|}               |}               |
# # +----+----------------+----------------+
# # Looks like you failed 1 test of 1.
# '
#     expected: '
# #   Failed test 'both the same'
# #   at t/script/default-headers line 8.
# # +----+----------------+----------------+
# # | Elt|Got             |Expected        |
# # +----+----------------+----------------+
# # |   0|{               |{               |
# # *   1|  foo => 'bar'  |  foo => 'baz'  *
# # |   2|}               |}               |
# # +----+----------------+----------------+
# # Looks like you failed 1 test of 1.
# '
not ok 2 - got expected error output
#   Failed test 'got expected error output'
#   at t/column-headers.t line 36.
#          got: '#   Failed test 'both the same'
# #   at t/script/custom-headers line 8.
# # +----+----------------+----------------+
# # | Elt|Lard            |Chips           |
# # +----+----------------+----------------+
# # |   0|{               |{               |
# # *   1|  foo => 'bar'  |  foo => 'baz'  *
# # |   2|}               |}               |
# # +----+----------------+----------------+
# # Looks like you failed 1 test of 1.
# '
#     expected: '
# #   Failed test 'both the same'
# #   at t/script/custom-headers line 8.
# # +----+----------------+----------------+
# # | Elt|Lard            |Chips           |
# # +----+----------------+----------------+
# # |   0|{               |{               |
# # *   1|  foo => 'bar'  |  foo => 'baz'  *
# # |   2|}               |}               |
# # +----+----------------+----------------+
# # Looks like you failed 1 test of 1.
# '
1..2
# Looks like you failed 2 tests of 2.
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests 

Test Summary Report
-------------------
t/column-headers.t (Wstat: 512 Tests: 2 Failed: 2)
  Failed tests:  1-2
  Non-zero exit status: 2
Files=1, Tests=2,  1 wallclock secs ( 0.01 usr  0.01 sys +  0.14 cusr  0.01 csys =  0.17 CPU)
Result: FAIL

-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list