Skip to content

Commit 05702c3

Browse files
committed
skip nonlinux
1 parent 5f633e1 commit 05702c3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

agent/agentexec/cli_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import (
77
"os"
88
"os/exec"
99
"path/filepath"
10+
"runtime"
1011
"strconv"
1112
"strings"
1213
"syscall"
@@ -21,6 +22,11 @@ import (
2122

2223
func TestCLI(t *testing.T) {
2324
t.Parallel()
25+
26+
if runtime.GOOS != "linux" {
27+
t.Skip("tests only valid on linux")
28+
}
29+
2430
t.Run("OK", func(t *testing.T) {
2531
t.Parallel()
2632

0 commit comments

Comments
 (0)