[PATCH] Add strings -n option test case

Project / Subsystem

binutils / binutils

Date

2026-09-29

Proposer

pengxu@kylinos.cn

Source type

public_inbox

Consensus

Proposed

Sentiment

7/10

All attributes

project
binutils
subsystem
binutils
patch_id
—
discussion_id
3da15824-06d2-4398-8733-b315fd9f78bf@suse.com
source_type
public_inbox
title
[PATCH] Add strings -n option test case
headline
Add strings -n option test case
tldr
Adds test cases for the `strings -n` option, improving test coverage for string length filtering.
proposer
pengxu@kylinos.cn
consensus
Proposed
outcome
proposed
sentiment_score
7
technical_tradeoffs
[]
series_id
—
series_role
standalone
series_parts
[]
tags
  • • strings
  • • testsuite
  • • binutils
bugzilla_url
—
date
2026-09-29T00:00:00.000Z

[PATCH] Add strings -n option test case

This patch introduces test cases for the strings -n option, which allows users to specify a minimum string length for output. It includes tests for the default length (n=4) and custom lengths (n=5, n=7), verifying that the command correctly filters strings based on their length. The patch also integrates support for the strings command into the binutils-common.exp test suite.