From 66b9df83659f04ce9ea631f99ca4c3412c695da3 Mon Sep 17 00:00:00 2001 From: aarzilli Date: Tue, 20 Jun 2023 15:12:23 +0200 Subject: [PATCH] proc: skip TestDebugStripped on linux/386/pie 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")