summaryrefslogtreecommitdiffstats
path: root/debian/tests/test-func
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests/test-func')
-rw-r--r--debian/tests/test-func10
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..f8f3df5
--- /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"
+
+mkdir -p "$DPKG_INSTDIR"
+eatmydata make -C tests test DPKG_INSTDIR="$DPKG_INSTDIR" DPKG_ADMINDIR="$DPKG_ADMINDIR"