diff --git a/.travis.yml b/.travis.yml index 1b4e1e0b..40bd008f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ language: go -sudo: false +sudo: required os: - linux diff --git a/pkg/proc/core/core_test.go b/pkg/proc/core/core_test.go index d9b3a51b..0abfd478 100644 --- a/pkg/proc/core/core_test.go +++ b/pkg/proc/core/core_test.go @@ -243,7 +243,7 @@ func TestCoreFpRegisters(t *testing.T) { if frames[i].Current.Fn == nil { continue } - if frames[i].Current.Fn.Name == "runtime.crash" { + if frames[i].Current.Fn.Name == "main.main" { regs, err = thread.Registers(true) if err != nil { t.Fatalf("Could not get registers for thread %x, %v", thread.ThreadID(), err)