From f81fbde554616ea6140a8a97e358b352db9f484a Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 7 Sep 2019 19:10:04 -0400 Subject: [PATCH] teleproxy.mk: Add a test that it works with CGO_ENABLED=0 in the Makefile [ci-skip] --- tests/teleproxy.bats | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/teleproxy.bats b/tests/teleproxy.bats index bf03bc816e..79c8ac2712 100644 --- a/tests/teleproxy.bats +++ b/tests/teleproxy.bats @@ -6,3 +6,9 @@ load common check_go_executable teleproxy.mk TELEPROXY # TODO: Check that $TELEPROXY behaves correctly } + +@test "teleproxy.mk: TELEPROXY (CGO_ENABLED=0)" { + echo 'export CGO_ENABLED = 0' >> Makefile + check_go_executable teleproxy.mk TELEPROXY + # TODO: Check that $TELEPROXY behaves correctly +}