1
0
Fork 0
dpkg/tests
Daniel Baumann 1879661313
Adding upstream version 1.22.20.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-20 21:21:00 +02:00
..
t-breaks Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-breaks-essential Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-breaks-multiarch Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-breaks-protected Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-buildinfo Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-conffile-conflict Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-conffile-declarative-removal Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-conffile-divert-conffile Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-conffile-divert-normal Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-conffile-forceask Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-conffile-forcemiss Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-conffile-forcenew Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-conffile-normal Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-conffile-obsolete Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-conffile-orphan Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-conffile-prompt Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-conffile-rename Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-conffile-replaces Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-conffile-replaces-disappear Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-conffile-replaces-diverted Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-conffile-replaces-downgrade Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-conffile-replaces-existing Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-conffile-replaces-existing-and-upgrade Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-conffile-replaces-upgrade Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-conffile-root-option Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-conffile-versioned-replaces-downgrade Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-conflict-provide-replace-interface Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-conflict-provide-replace-real Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-conflict-provide-replace-virtual Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-conflict-provide-replace-virtual-multiarch Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-conflicts Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-conflicts-replaces Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-control-bogus Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-control-no-arch Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-db Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-deb-lfs Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-depends Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-dir-extension-check Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-dir-leftover-conffile Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-dir-leftover-deadlock Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-dir-leftover-parents Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-dir-shared-replaces-lost Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-disappear Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-disappear-depended Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-disappear-diverted Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-disappear-diverted-other Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-disappear-empty Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-failinst-failrm Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-field-priority Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-file-conflicts Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-file-replaces Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-file-replaces-disappear Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-file-replaces-versioned Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-filtering Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-maintscript-leak Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-multiarch Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-normal Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-option-dry-run Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-option-recursive Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-predepends-no-triggers Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-provides Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-provides-arch-implicit Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-provides-arch-qualified Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-provides-self Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-queue-process-deconf-dupe Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-switch-dir-to-symlink-abs Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-switch-dir-to-symlink-rel Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-switch-symlink-abs-to-dir Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-switch-symlink-rel-to-dir Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-symlink-dir Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-triggers Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-triggers-configure Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-triggers-cycle Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-triggers-db Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-triggers-depcycle Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-triggers-depends Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-triggers-depfarcycle Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-triggers-halt Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-triggers-path Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-triggers-selfcycle Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-unpack-device Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-unpack-divert-hardlink Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-unpack-divert-nowarn Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-unpack-divert-overwrite Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-unpack-fifo Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-unpack-hardlink Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-unpack-symlink Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
t-verify Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
Feature.mk Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
Makefile Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
README Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00
Test.mk Adding upstream version 1.22.20. 2025-06-20 21:21:00 +02:00

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

dpkg functional test-suite
~~~~~~~~~~~~~~~~~~~~~~~~~~

How to run
----------

There's a brief usage information when invoking “make” on the topdir.

You probably want to use something like eatmydata to run the tests, it
affects the performance significantly.

To test the tools from the dpkg build-tree, use the «test» target. If you
want instead to test the installed programs use the «installtest» target.

To test with the compiler sanitizer «configure ---enable-compiler-sanitizer»,
and run the tests normally.

The DPKG_TESTSUITE_OPTIONS environment/make variable can be used to change
the behavior of the test runs, the following options are currently
supported:

* as-root

  WARNING: This runs the tests in privileged mode, and will write to your
  current root filesystem. If you are uncertain of the consequences, run
  it at least on a chroot, or isolated in a virtual machine.

* test-all

  This runs all tests, including manual and failing ones.

* debug

  This makes dpkg print lots of debug output.

The configuration file .pkg-tests.conf can be used to set permanent
parameters. For example:

  ,-- .pkg-tests.conf --
  |DPKG_TESTSUITE_OPTIONS := debug
  `--

Test-suite layout
-----------------

The tests are split into logical units, testing a specific characteristic.
To add a new test please check Test.mk and Makefile on the topdir, and some
of the current tests. Patches welcome!

Future plans
------------

There's lots of tests that are still missing, we are adding new ones when
we stumble over regressions, when adding new functionality, and as time
permits for existing functionality.

The idea is for this to progressively be integrated into the autotools
autotest suite under src/at/, and be run as part of “make check”. Some
changes to dpkg would need to be implemented first.