From d6c1b4a3592a32e14f6d27a964fcafae2f4ac851 Mon Sep 17 00:00:00 2001 From: Alberto Bertogli Date: Sat, 13 Jul 2019 14:56:26 +0100 Subject: [PATCH] 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 | 10 ---------- 1 file changed, 10 deletions(-) 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"