Bug#785528: libconfig-model-perl: autopkgtest failure: t/model.t

Niko Tyni ntyni at debian.org
Sun May 17 13:26:10 UTC 2015


Package: libconfig-model-perl
Version: 2.070-1
User: debian-perl at lists.debian.org
Usertags: autopkgtest

This package failed its autopkgtest checks on ci.debian.net.

 http://ci.debian.net/packages/libc/libconfig-model-perl/unstable/amd64/

It looks like the Config::Model::Lister::available_models()
argument needs to be different when running under autopkgtest
to force looking in @INC instead of lib/. Basing it on the
ADTTMP environment variable is probably the best choice, see
/usr/share/doc/autopkgtest/README.package-tests.rst.gz

  t/model.t ......................... 
  ok 1 - compiled
  not ok 2 - check available system models
  
  #   Failed test 'check available system models'
  #   at t/model.t line 44.
  # +----+-------+----+----------+
  # | Elt|Got    | Elt|Expected  |
  # +----+-------+----+----------+
  # *   0|undef  *   0|'fstab'   *
  # |    |       *   1|'popcon'  *
  # +----+-------+----+----------+
  not ok 3 - check available popcon
  
  #   Failed test 'check available popcon'
  #   at t/model.t line 45.
  #          got: undef
  #     expected: 'PopCon'
  not ok 4 - check available application models
  
  #   Failed test 'check available application models'
  #   at t/model.t line 47.
  # +----+-------+--------------+
  # | Elt|Got    |Expected      |
  # +----+-------+--------------+
  # *   0|undef  |'multistrap'  *
  # +----+-------+--------------+
  ok 5 - check Sarge class name
  ok 6 - check Sarge D element model
  ok 7 - check Sarge X element model
  ok 8 - check model with orphan level
  ok 9 - Model created
  ok 10 - check Master class name
  ok 11 - memory cycles
  1..11
  # Looks like you failed 3 tests of 11.
  Dubious, test returned 3 (wstat 768, 0x300)
  Failed 3/11 subtests 

-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list