summaryrefslogtreecommitdiffstats
path: root/debian/tests
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 09:36:26 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 09:36:26 +0000
commit569106afbc36d21ec7584444df3072aefb934cac (patch)
tree7f084acdd4363d4c4ae5bdbe90d19cbaefddc5fb /debian/tests
parentAdding upstream version 2.21.3+deb11u1. (diff)
downloaddevscripts-569106afbc36d21ec7584444df3072aefb934cac.tar.xz
devscripts-569106afbc36d21ec7584444df3072aefb934cac.zip
Adding debian version 2.21.3+deb11u1.debian/2.21.3+deb11u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/tests')
-rw-r--r--debian/tests/control31
-rwxr-xr-xdebian/tests/destructive4
-rwxr-xr-xdebian/tests/shunit24
3 files changed, 39 insertions, 0 deletions
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..c93bd73
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,31 @@
+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,
+ @,
+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