summaryrefslogtreecommitdiffstats
path: root/debian/tests/upstream-tests.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:11:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:11:13 +0000
commit070810782883ce2d58dbc97f32dafcd73281869e (patch)
tree09e86e8af6da2bad2635b24a2e9232f11d0c6047 /debian/tests/upstream-tests.sh
parentAdding upstream version 3.2~rc3+dfsg. (diff)
downloadtestssl.sh-070810782883ce2d58dbc97f32dafcd73281869e.tar.xz
testssl.sh-070810782883ce2d58dbc97f32dafcd73281869e.zip
Adding debian version 3.2~rc3+dfsg-1.debian/3.2_rc3+dfsg-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/tests/upstream-tests.sh')
-rw-r--r--debian/tests/upstream-tests.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/tests/upstream-tests.sh b/debian/tests/upstream-tests.sh
new file mode 100644
index 0000000..eea68eb
--- /dev/null
+++ b/debian/tests/upstream-tests.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+set -e
+set -u
+
+export LC_ALL=C.UTF-8
+
+cp -av etc "$AUTOPKGTEST_TMP"
+cp -av t "$AUTOPKGTEST_TMP"
+
+cd "$AUTOPKGTEST_TMP"
+sed -i s@./testssl.sh@/usr/bin/testssl@g t/*.t
+
+# Only run tests 00-05 as others require network access.
+prove -v t/0[0-5]*