Bug#1149943: libconfig-model-dpkg-perl: Error when autopgktest Restrictions separated only by space
Jeremy Bícha
jbicha at debian.org
Sun Oct 4 17:39:19 BST 2026
Source: libconfig-model-dpkg-perl
Version: 3.027
>From a package that has autopkgtests, edit debian/tests/control to use
this Restrictions line:
Restrictions: allow-stderr superficial
cme fix dpkg --save
Configuration item 'tests control:0 Restrictions' has a wrong value:
Unknown check_list item 'allow-stderr superficial'. Expected
'rw-build-tree', 'breaks-testbed', 'needs-root', 'needs-sudo',
'build-needed', 'allow-stderr', 'isolation-container',
'isolation-machine', 'needs-internet', 'needs-reboot',
'needs-recommends', 'flaky', 'skippable', 'skip-foreign-architecture',
'skip-not-installable', 'hint-testsuite-triggers', 'superficial'
The error is triggered because there isn't a comma between the
restrictions; however, this is valid syntax according to
https://people.debian.org/~eriberto/README.package-tests.html
"Restrictions are separated by commas and/or whitespace."
I agree with normalizing by separating restrictions with one comma
then one space, but I think it should be able to handle input where
the comma is missing.
Thank you,
Jeremy Bícha
More information about the pkg-perl-maintainers
mailing list