summaryrefslogtreecommitdiffstats
path: root/debian/tests/regression-test
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-16 19:23:19 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-16 19:23:19 +0000
commit7b866744951dd6d5e9c7fa982b1f5672d653feb4 (patch)
tree5d2a761f938c68b62e11301dc7b93e2ed63dbd50 /debian/tests/regression-test
parentAdding upstream version 1.20.14. (diff)
downloadgolang-1.20-7b866744951dd6d5e9c7fa982b1f5672d653feb4.tar.xz
golang-1.20-7b866744951dd6d5e9c7fa982b1f5672d653feb4.zip
Adding debian version 1.20.14-2.debian/1.20.14-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/tests/regression-test')
-rw-r--r--debian/tests/regression-test8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/tests/regression-test b/debian/tests/regression-test
new file mode 100644
index 0000000..00c12a1
--- /dev/null
+++ b/debian/tests/regression-test
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -ex
+
+VER="$(dpkg-parsechangelog -SSource | sed 's/golang-//')"
+
+cd "/usr/lib/go-$VER/test"
+"/usr/lib/go-$VER/bin/go" run run.go -v