summaryrefslogtreecommitdiffstats
path: root/debian/tests
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:53:53 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:53:53 +0000
commit8bfec411659061418969c246436a22ade44ff446 (patch)
tree68371d63fe05049a558f5e41d9b9f45b76014aa9 /debian/tests
parentAdding upstream version 2.23.4+deb12u1. (diff)
downloaddevscripts-debian.tar.xz
devscripts-debian.zip
Adding debian version 2.23.4+deb12u1.debian/2.23.4+deb12u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/tests')
-rw-r--r--debian/tests/control32
-rwxr-xr-xdebian/tests/destructive4
-rwxr-xr-xdebian/tests/shunit24
3 files changed, 40 insertions, 0 deletions
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..eb8095b
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,32 @@
+Tests: shunit2
+Depends:
+ build-essential,
+ debhelper,
+ fakeroot,
+ faketime,
+ git,
+ gnupg,
+ libdistro-info-perl,
+ libgitlab-api-v4-perl,
+ libipc-run-perl,
+ libtest-output-perl,
+ libwww-perl,
+ mozilla-devscripts,
+ python3-debian,
+ python3-pyftpdlib,
+ shunit2,
+ subversion,
+ 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