Dpkg::Control::Tests(3perl) libdpkg-perl Dpkg::Control::Tests(3perl)

# [NAME](#NAME)

Dpkg::Control::Tests - parse files like debian/tests/control

# [DESCRIPTION](#DESCRIPTION)

It provides a class to access data of files that follow the same syntax as *debian/tests/control*.

# [METHODS](#METHODS)

All the methods of Dpkg::Index are available. Those listed below are either new or overridden with a different behavior.

$ctrl\_tests = Dpkg::Control::Tests-&gt;new(%opts)

Create a new Dpkg::Control::Tests object, which inherits from Dpkg::Index.

The options are passed through to the Dpkg::Index-&gt;**new()** constructor.

$item = $ctrl\_tests-&gt;**new\_item()**

Creates a new item.

# [CHANGES](#CHANGES)

## [Version 1.00 (dpkg 1.18.8)](#Version_1.00_%28dpkg_1.18.8%29)

Mark the module as public.

2026-09-09 1.23.11-dirty

---

Document: Dpkg::Control::Tests(3perl) from dpkg 1.23.11-r2 (Chainguard OS)
Source: https://git.dpkg.org/git/dpkg/dpkg.git
