From a89452720a62abb5a59346dce5b92342c2521f7f Mon Sep 17 00:00:00 2001 From: Ed Warnicke Date: Thu, 14 Jan 2021 14:01:20 -0600 Subject: [PATCH] Fix build tags on tests Signed-off-by: Ed Warnicke --- internal/tests/ns/client.go | 2 +- internal/tests/ns/server.go | 2 +- internal/tests/suite_combinatronics_test.go | 2 ++ internal/tests/suite_healthcheck_test.go | 2 +- internal/tests/suite_kernel_test.go | 2 ++ internal/tests/suite_memif_test.go | 2 ++ internal/tests/suite_setup_test.go | 2 +- internal/tests/suite_test.go | 2 +- internal/tests/suite_util_test.go | 2 +- 9 files changed, 12 insertions(+), 6 deletions(-) diff --git a/internal/tests/ns/client.go b/internal/tests/ns/client.go index 943669e1..dcc71d93 100644 --- a/internal/tests/ns/client.go +++ b/internal/tests/ns/client.go @@ -14,7 +14,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build !windows +// +build linux // Package ns - simple NetworkServiceClient chain element that will change the nsNet of the client to ns before // calling the next chain element and return it to its original netNS before returning diff --git a/internal/tests/ns/server.go b/internal/tests/ns/server.go index befa7d5f..56e8ef06 100644 --- a/internal/tests/ns/server.go +++ b/internal/tests/ns/server.go @@ -14,7 +14,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build !windows +// +build linux package ns diff --git a/internal/tests/suite_combinatronics_test.go b/internal/tests/suite_combinatronics_test.go index 12d7b51e..7d09b400 100644 --- a/internal/tests/suite_combinatronics_test.go +++ b/internal/tests/suite_combinatronics_test.go @@ -14,6 +14,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +// +build linux + package tests import ( diff --git a/internal/tests/suite_healthcheck_test.go b/internal/tests/suite_healthcheck_test.go index 940cdb79..7e6d21c6 100644 --- a/internal/tests/suite_healthcheck_test.go +++ b/internal/tests/suite_healthcheck_test.go @@ -14,7 +14,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build !windows +// +build linux package tests diff --git a/internal/tests/suite_kernel_test.go b/internal/tests/suite_kernel_test.go index ea6e6924..9144561e 100644 --- a/internal/tests/suite_kernel_test.go +++ b/internal/tests/suite_kernel_test.go @@ -14,6 +14,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +// +build linux + package tests import ( diff --git a/internal/tests/suite_memif_test.go b/internal/tests/suite_memif_test.go index 0f6b0a40..7fc2240b 100644 --- a/internal/tests/suite_memif_test.go +++ b/internal/tests/suite_memif_test.go @@ -14,6 +14,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +// +build linux + package tests import ( diff --git a/internal/tests/suite_setup_test.go b/internal/tests/suite_setup_test.go index 3d960114..8a40fb95 100644 --- a/internal/tests/suite_setup_test.go +++ b/internal/tests/suite_setup_test.go @@ -14,7 +14,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build !windows +// +build linux package tests diff --git a/internal/tests/suite_test.go b/internal/tests/suite_test.go index b7c343da..ae52d180 100644 --- a/internal/tests/suite_test.go +++ b/internal/tests/suite_test.go @@ -14,7 +14,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build !windows +// +build linux package tests diff --git a/internal/tests/suite_util_test.go b/internal/tests/suite_util_test.go index 0fbff712..4928fab3 100644 --- a/internal/tests/suite_util_test.go +++ b/internal/tests/suite_util_test.go @@ -14,7 +14,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build !windows +// +build linux package tests