Skip to content

Commit

Permalink
Fix build tags on tests
Browse files Browse the repository at this point in the history
Signed-off-by: Ed Warnicke <hagbard@gmail.com>
  • Loading branch information
edwarnicke committed Jan 14, 2021
1 parent 7648fb3 commit a894527
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion internal/tests/ns/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion internal/tests/ns/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build !windows
// +build linux

package ns

Expand Down
2 changes: 2 additions & 0 deletions internal/tests/suite_combinatronics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build linux

package tests

import (
Expand Down
2 changes: 1 addition & 1 deletion internal/tests/suite_healthcheck_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build !windows
// +build linux

package tests

Expand Down
2 changes: 2 additions & 0 deletions internal/tests/suite_kernel_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build linux

package tests

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/tests/suite_memif_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build linux

package tests

import (
Expand Down
2 changes: 1 addition & 1 deletion internal/tests/suite_setup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build !windows
// +build linux

package tests

Expand Down
2 changes: 1 addition & 1 deletion internal/tests/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build !windows
// +build linux

package tests

Expand Down
2 changes: 1 addition & 1 deletion internal/tests/suite_util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build !windows
// +build linux

package tests

Expand Down

0 comments on commit a894527

Please sign in to comment.