git » chasquid » commit d6c1b4a

test/t-14-tls_tracking: Remove Go version check

author Alberto Bertogli
2019-07-13 13:56:26 UTC
committer Alberto Bertogli
2019-07-13 13:56:26 UTC
parent d6bbea391fd9d0db2d3993aeb77002b080460e9f

test/t-14-tls_tracking: Remove Go version check

The test/t-14-tls_tracking test relies on Go 1.8 features, but since we
used to support Go 1.7, the test had a version check.

Since now the minimum Go version supported is 1.9, we can remove this
check.

test/t-14-tls_tracking/run.sh +0 -10

diff --git a/test/t-14-tls_tracking/run.sh b/test/t-14-tls_tracking/run.sh
index d6cc1bf..4b6a3ac 100755
--- a/test/t-14-tls_tracking/run.sh
+++ b/test/t-14-tls_tracking/run.sh
@@ -7,16 +7,6 @@ set -e
 
 init
 
-# To fake SPF we need to override the resolver, which is only supported in Go
-# >= 1.8, so this test depends on that version.
-# TODO: remove this once we only support go >= 1.8.
-MAJOR=$(go version | sed 's/.*go\([0-9]\)\..*/\1/')
-MINOR=$(go version | sed 's/.*go[0-9]\.\([0-9]\+\).*/\1/')
-DEVEL=$(go version | sed 's/.* devel .*/devel/g')
-if [ "$DEVEL" != "devel" ] && [ "$MAJOR" -eq 1 ] && [ "$MINOR" -le 7 ]; then
-	skip "go version ($MAJOR.$MINOR) too old to run this test"
-fi
-
 # Build with the DNS override, so we can fake DNS records.
 export GOTAGS="dnsoverride"