diff options
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]* |