DOKK / manpages / debian 10 / lintian / Test::Lintian::Helper.3.en
Test::Lintian::Helper(3) Debian Package Checker Test::Lintian::Helper(3)

Test::Lintian::Helper -- Helper functions for various testing parts

  use Test::Lintian::Helper qw(get_latest_policy);
  my $policy_version = get_latest_policy();

Helper functions for preparing and running Lintian tests.

Ensures that the output from dpkg-architecture has been cached.
Returns a list with two elements. The first is the most recent version of the Debian policy. The second is its effective date.
Returns the version of debhelper recommended in 'debhelper/compat-level' via Lintian::Data, relative to the established LINTIAN_ROOT.
Returns the version of debhelper required in the file 'debian/control' relative to the established LINTIAN_ROOT. The return value is the exact string, which can include characters like a tilde.
Populates TARGET_DIR with files/dirs from SRC_DIR, preserving all attributes but dereferencing links. For an empty directory, no dummy file is required.
Returns a string with the date and time described by EPOCH, formatted according to RFC822.
2019-05-26 Lintian v2.15.0