Skip to content

Commit

Permalink
proc: skip TestDebugStripped on linux/386/pie (#3427)
Browse files Browse the repository at this point in the history
PIEs do not have a .data.rel.ro.gopclntab section on linux/386. Disable
the test.
  • Loading branch information
aarzilli authored Jun 20, 2023
1 parent 322a138 commit afef1ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/proc/proc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3169,6 +3169,7 @@ func TestDebugStripped(t *testing.T) {
// Currently only implemented for Linux ELF executables.
// TODO(derekparker): Add support for Mach-O and PE.
skipUnlessOn(t, "linux only", "linux")
skipOn(t, "not working on linux/386 with PIE", "linux", "386", "pie")
withTestProcessArgs("testnextprog", t, "", []string{}, protest.LinkStrip, func(p *proc.Target, grp *proc.TargetGroup, f protest.Fixture) {
setFunctionBreakpoint(p, t, "main.main")
assertNoError(grp.Continue(), t, "Continue")
Expand Down

0 comments on commit afef1ae

Please sign in to comment.