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

Test::Lintian::Hooks -- hook routines for the test runners

  use Test::Lintian::Hooks qw(sed_hook);
  sed_hook('script.sed', 'input.file');

Various hook routines for the test runners.

Runs the parser sed on file SUBJECT using the instructions in SCRIPT and places the result in the file OUTPUT.
Sorts the file UNSORTED line by line and places the result into the file SORTED.
Executes calibration script SCRIPT with the three arguments EXPECTED, ACTUAL and CALIBRATED, all of which are file paths. Please note that the order of arguments in this function corresponds to the bookkeeping logic of ACTUAL vs EXPECTED. The order for the script is different.
Returns a string with missing dependencies, if applicable, that would be necessary to run the test described by hash DESC.
2023-02-05 Lintian v2.116.3