diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 17:11:13 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 17:11:13 +0000 |
commit | 070810782883ce2d58dbc97f32dafcd73281869e (patch) | |
tree | 09e86e8af6da2bad2635b24a2e9232f11d0c6047 /debian/tests | |
parent | Adding upstream version 3.2~rc3+dfsg. (diff) | |
download | testssl.sh-debian.tar.xz testssl.sh-debian.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')
-rw-r--r-- | debian/tests/control | 2 | ||||
-rw-r--r-- | debian/tests/upstream-tests.sh | 14 |
2 files changed, 16 insertions, 0 deletions
diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..b368416 --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,2 @@ +Tests: upstream-tests.sh +Depends: @ 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]* |