service/debugger: Fix checking for CI

This commit is contained in:
Derek Parker
2020-04-13 11:32:21 -07:00
committed by Alessandro Arzilli
parent e5d24a96bf
commit c06a1a0252
2 changed files with 2 additions and 1 deletions

View File

@ -54,7 +54,7 @@ func TestDebugger_LaunchNoExecutablePerm(t *testing.T) {
}
func TestDebugger_LaunchWithTTY(t *testing.T) {
if os.Getenv("TRAVIS") == "true" {
if os.Getenv("CI") == "true" {
if _, err := exec.LookPath("lsof"); err != nil {
t.Skip("skipping test in CI, system does not contain lsof")
}