From afef1aec605eb605a27f780dc68a492a0fdd1352 Mon Sep 17 00:00:00 2001 From: Alessandro Arzilli Date: Tue, 20 Jun 2023 18:55:30 +0200 Subject: [PATCH] proc: skip TestDebugStripped on linux/386/pie (#3427) PIEs do not have a .data.rel.ro.gopclntab section on linux/386. Disable the test. --- pkg/proc/proc_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/proc/proc_test.go b/pkg/proc/proc_test.go index 10f7876d70..0cb84f6bdb 100644 --- a/pkg/proc/proc_test.go +++ b/pkg/proc/proc_test.go @@ -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")