Bug#809294: libconfig-model-itself-perl: t/load_write_itself.t fails under autopkgtest

Dominique Dumont dod at debian.org
Fri Jan 1 16:09:05 UTC 2016


On Tue, 29 Dec 2015 02:16:47 +0000 Colin Watson <cjwatson at debian.org> wrote:
> This looks to me like a failure to round-trip the models in
> libconfig-model-perl (there are extra "model=" lines near the end of
> "expected" not present in "got"), which would explain why it only fails
> under autopkgtest since otherwise it only tests models under lib/.  My
> familiarity with Config::Model is almost non-existent, though.

Indeed. The error boils down to:

@@ -1124,10 +1122,13 @@
 #       value_type=string - -
 #   include:=Itself::CommonElement -
 # application:fstab
+#   model=Fstab
 #   category=system -
 # application:multistrap
+#   model=Multistrap
 #   category=application
 #   require_config_file=1 -
 # application:popcon
+#   model=PopCon
 #   category=system - -
 # '


These represents the content of files delivered by libconfig-model-perl. Looks 
like debci is running libconfig-model-itself-perl tests directly in 
/usr/share/perl5/Config/Model , ie. in an environment with files from both  
libconfig-model-perl and libconfig-model-itself-perl packages.

I need to tweak tests to avoid the fiels coming from libconfig-model-perl.

All the best

-- 
 https://github.com/dod38fr/   -o- http://search.cpan.org/~ddumont/
http://ddumont.wordpress.com/  -o-   irc: dod at irc.debian.org



More information about the pkg-perl-maintainers mailing list