summaryrefslogtreecommitdiffstats
path: root/debian/tests
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:33:00 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:33:00 +0000
commit5c28c4c333fff0c623d0d5b8e96f4d1b02a0a40c (patch)
tree227d815e6676230058811fd05338dc5f8db65df2 /debian/tests
parentAdding upstream version 2.23.7. (diff)
downloaddevscripts-5c28c4c333fff0c623d0d5b8e96f4d1b02a0a40c.tar.xz
devscripts-5c28c4c333fff0c623d0d5b8e96f4d1b02a0a40c.zip
Adding debian version 2.23.7.debian/2.23.7debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/tests')
-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