[PATCH] binutils: don't abort debuginfod.exp when the server cleanup kill fails

Project / Subsystem

binutils / binutils

Date

2026-08-12

Proposer

Matt Turner <mattst88@gmail.com>

Source type

public_inbox

Consensus

Proposed

Sentiment

—/10

All attributes

project
binutils
subsystem
binutils
patch_id
—
discussion_id
20260812013330.3990977-1-mattst88@gmail.com
source_type
public_inbox
title
[PATCH] binutils: don't abort debuginfod.exp when the server cleanup kill fails
headline
binutils: don't abort debuginfod.exp when the server cleanup kill fails
tldr
Testsuite: Wrap `kill` commands in `catch` within debuginfod.exp to prevent test aborts on cleanup failure.
proposer
Matt Turner <mattst88@gmail.com>
consensus
Proposed
outcome
proposed
sentiment_score
—
technical_tradeoffs
[]
series_id
—
series_role
standalone
series_parts
[]
tags
  • • testing
  • • binutils
  • • debuginfod
  • • testsuite
  • • regression
bugzilla_url
—
date
2026-08-12T00:00:00.000Z

[PATCH] binutils: don't abort debuginfod.exp when the server cleanup kill fails

Matt Turner proposes a fix for the binutils testsuite where testcases involving debuginfod.exp abort unexpectedly due to exec kill commands failing. This patch wraps the kill commands in a catch block, preventing the DejaGnu test runner from aborting the entire test file when the server cleanup process encounters an error. It also addresses a similar issue in the port-scan timeout path.