---
name: "Test::Lintian::Prepare"
section: "3"
platform: "linux"
package: "lintian"
version: "2.122.0"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Test::Lintian::Prepare"
---

# Test::Lintian::Prepare(3)

## NAME

Test::Lintian::Prepare -- routines to prepare the work directories

## SYNOPSIS

```
  use Test::Lintian::Prepare qw(prepare);
```

## DESCRIPTION

The routines in this module prepare the work directories in which the tests are run. To do so, they use the specifications in the test set.

## FUNCTIONS

- prepare(SPEC\_PATH, SOURCE\_PATH, TEST\_SET, REBUILD)

  Populates a work directory SOURCE\_PATH with data from the test located in SPEC\_PATH. The optional parameter REBUILD forces a rebuild if true.

- filleval(SPEC\_PATH, EVAL\_PATH, TEST\_SET, REBUILD)

  Populates a evaluation directory EVAL\_PATH with data from the test located in SPEC\_PATH. The optional parameter REBUILD forces a rebuild if true.

- combine\_fields

  - deb822\_section\_to\_hash

  - write\_hash\_to\_deb822\_section

  - fill\_hash\_from\_hash

  ## AUTHOR

Originally written by Felix Lechner \<felix.lechner@lease-up.com\> for Lintian.

## SEE ALSO

[**lintian**(1)](/lintian/1.md)
