[PATCH v3] 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

—/10

All attributes

project
binutils
subsystem
binutils
patch_id
—
discussion_id
20260929095225.773309-1-pengxu@kylinos.cn
source_type
public_inbox
title
[PATCH v3] Add strings -n option test case
headline
Add strings -n option test case
tldr
Adds test cases for the `strings -n` option to verify minimum string length filtering.
proposer
pengxu@kylinos.cn
consensus
Proposed
outcome
proposed
sentiment_score
—
technical_tradeoffs
[]
series_id
—
series_role
standalone
series_parts
[]
tags
  • • strings
  • • testsuite
  • • binutils
bugzilla_url
—
date
2026-09-29T00:00:00.000Z

[PATCH v3] Add strings -n option test case

This patch introduces new test cases for the strings command’s -n option, which specifies the minimum length of strings to be displayed. The tests cover the default length (n=4), as well as n=5 and n=7. Additionally, the patch ensures that the strings command itself is supported within the binutils-common.exp test suite, allowing for comprehensive testing of this functionality.