summaryrefslogtreecommitdiffstats
path: root/debian/tests
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/tests/control33
-rwxr-xr-xdebian/tests/destructive4
-rwxr-xr-xdebian/tests/shunit24
3 files changed, 41 insertions, 0 deletions
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..1d164c8
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,33 @@
+Tests: shunit2
+Depends:
+ build-essential,
+ debhelper,
+ fakeroot,
+ faketime,
+ git,
+ gnupg,
+ libdistro-info-perl,
+ libgitlab-api-v4-perl,
+ libipc-run-perl,
+ libjson-perl,
+ libtest-output-perl,
+ libwww-perl,
+ python3-debian,
+ python3-pyftpdlib,
+ shunit2,
+ subversion,
+ unzip,
+ wdiff,
+ zip,
+ zstd,
+ @,
+Restrictions: allow-stderr
+
+Tests: destructive
+Depends:
+ apt,
+ libdpkg-perl,
+ libipc-run-perl,
+ perl,
+ @,
+Restrictions: allow-stderr, breaks-testbed, needs-root
diff --git a/debian/tests/destructive b/debian/tests/destructive
new file mode 100755
index 0000000..f3bfa43
--- /dev/null
+++ b/debian/tests/destructive
@@ -0,0 +1,4 @@
+#!/bin/sh
+set -e
+
+make destructive-test-installed
diff --git a/debian/tests/shunit2 b/debian/tests/shunit2
new file mode 100755
index 0000000..9dfbd0a
--- /dev/null
+++ b/debian/tests/shunit2
@@ -0,0 +1,4 @@
+#!/bin/sh
+set -e
+
+make test-installed