t/runtests: Include newlines when Lintian fails

Dump lintian output line-by-line without dropping the newlines.  This
makes the output much more readable.  Since the dump is no longer
"atomic", prefix the output with the testname as well.

Signed-off-by: Niels Thykier <niels@thykier.net>
t/runtests: Validate the name of tests

Before running any tests in a suite, check that the test name
(declared in the desc) matches the expected.

Signed-off-by: Niels Thykier <niels@thykier.net>
c/menu-format: Explain why menu icons must be XPM

... in the tag description of menu-icon-not-in-xpm-format.

Signed-off-by: Niels Thykier <niels@thykier.net>
frontend/*: Use STDOUT->autoflush instead of "$| = 1"

Signed-off-by: Niels Thykier <niels@thykier.net>
Avoid using both low and high precedence bool ops together

Signed-off-by: Niels Thykier <niels@thykier.net>
L::Path: Fix mistake in synopsis

Signed-off-by: Niels Thykier <niels@thykier.net>
Also warn about incorrect case with OpenStreetMap

Signed-off-by: Niels Thykier <niels@thykier.net>
lintian: Back out of loading checks from $HOME and /etc

aptdaemon uses Lintian to do a minimal check of packages before
installing them.  It is possible that loading checks from $HOME and
/etc by default could lead to (local user) privilege escalation.

The upstream of aptdaemon has been notified of the coming changes[1],
but they might not be the only ones to use Lintian in a situation like
this.  So only allow "non-code" files to be loaded from $HOME and /etc
by default for now.  Where needed/desired, it is still possible to use
--include-dir to "promote" these directories.

[1] https://bugs.launchpad.net/aptdaemon/+bug/1162947

Signed-off-by: Niels Thykier <niels@thykier.net>
control: Add versioned depends on perl | libautodie-perl

The autodie in Perl 5.10 (Debian/Squeeze) is not quite sufficient, so
use libautodie-perl as fallback.

Signed-off-by: Niels Thykier <niels@thykier.net>
t: Add "done_testing" call to subtest

Test::More in Debian/Squeeze (unlike the Debian/Wheezy one) does not
allow the "done_testing" call in subtests to be omitted without a plan.

Signed-off-by: Niels Thykier <niels@thykier.net>
d/control: Add missing comma in the (Build-)Depends fields

Signed-off-by: Niels Thykier <niels@thykier.net>
lintian: Make --root imply --no-user-dirs by default

Make the use of --root (or LINTIAN_ROOT) imply --no-user-dirs.

Signed-off-by: Niels Thykier <niels@thykier.net>
c/files: Add test for adobe font fragment

Signed-off-by: Niels Thykier <niels@thykier.net>
lintian: Add --default-display-level option

Add --default-display-level command-line option to reset the display
level.  This allows the user to have a custom display level in his/her
config file and still occasionally use the built-in default display
level.

Signed-off-by: Niels Thykier <niels@thykier.net>
lintian(1): Fix typo of config variable "override"

Signed-off-by: Niels Thykier <niels@thykier.net>
c/debhelper: Assume python helpers are used within variables

Signed-off-by: Niels Thykier <niels@thykier.net>
c/debhelper: Promote "python helper" tags to non-experimental

Signed-off-by: Niels Thykier <niels@thykier.net>
Demote severity/certainty of two experimental tags

Signed-off-by: Niels Thykier <niels@thykier.net>
Test::Lintian: Rewrite synopsis

Signed-off-by: Niels Thykier <niels@thykier.net>
t(estset): Fix tests after duplicates-files was downgraded

Signed-off-by: Niels Thykier <niels@thykier.net>