mirror of
https://github.com/go-delve/delve.git
synced 2025-10-28 04:35:19 +08:00
service/debugger: Fix checking for CI
This commit is contained in:
committed by
Alessandro Arzilli
parent
e5d24a96bf
commit
c06a1a0252
@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user