diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 09:40:32 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 09:40:32 +0000 |
commit | 76faa357888fc7ac8697e12f151f70fd7227a978 (patch) | |
tree | 5cfd018ebeb537a499caa021a008c6e51cc22d73 /debian/tests/test-func | |
parent | Adding upstream version 1.20.13. (diff) | |
download | dpkg-debian.tar.xz dpkg-debian.zip |
Adding debian version 1.20.13.debian/1.20.13debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/tests/test-func')
-rw-r--r-- | debian/tests/test-func | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/tests/test-func b/debian/tests/test-func new file mode 100644 index 0000000..db386cd --- /dev/null +++ b/debian/tests/test-func @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +export DPKG_TESTSUITE_OPTIONS="debug" +export DPKG_ADMINDIR="$AUTOPKGTEST_TMP/db" +export DPKG_INSTDIR="$AUTOPKGTEST_TMP/root" + +tests/db-regen "$DPKG_ADMINDIR" "$DPKG_INSTDIR" +eatmydata make -C tests test DPKG_INSTDIR="$DPKG_INSTDIR" DPKG_ADMINDIR="$DPKG_ADMINDIR" |