@@ -36,7 +36,7 @@ func TestExec(t *testing.T) {
36
36
//nolint:paralleltest // we need to test environment variables
37
37
t .Run ("Disabled" , func (t * testing.T ) {
38
38
if runtime .GOOS != "linux" {
39
- t .Skip ("skipping on linux" )
39
+ t .Skip ("skipping on non- linux" )
40
40
}
41
41
42
42
cmd , err := agentexec .CommandContext (context .Background (), "sh" , "-c" , "sleep" )
@@ -52,7 +52,7 @@ func TestExec(t *testing.T) {
52
52
t .Setenv (agentexec .EnvProcPrioMgmt , "hello" )
53
53
54
54
if runtime .GOOS != "linux" {
55
- t .Skip ("skipping on linux" )
55
+ t .Skip ("skipping on non- linux" )
56
56
}
57
57
58
58
executable , err := os .Executable ()
@@ -69,7 +69,7 @@ func TestExec(t *testing.T) {
69
69
t .Setenv (agentexec .EnvProcNiceScore , "10" )
70
70
71
71
if runtime .GOOS != "linux" {
72
- t .Skip ("skipping on linux" )
72
+ t .Skip ("skipping on non- linux" )
73
73
}
74
74
75
75
executable , err := os .Executable ()
@@ -86,7 +86,7 @@ func TestExec(t *testing.T) {
86
86
t .Setenv (agentexec .EnvProcOOMScore , "123" )
87
87
88
88
if runtime .GOOS != "linux" {
89
- t .Skip ("skipping on linux" )
89
+ t .Skip ("skipping on non- linux" )
90
90
}
91
91
92
92
executable , err := os .Executable ()
@@ -104,7 +104,7 @@ func TestExec(t *testing.T) {
104
104
t .Setenv (agentexec .EnvProcNiceScore , "14" )
105
105
106
106
if runtime .GOOS != "linux" {
107
- t .Skip ("skipping on linux" )
107
+ t .Skip ("skipping on non- linux" )
108
108
}
109
109
110
110
executable , err := os .Executable ()
0 commit comments