binutils Newspaper
OCTOBER 6, 2026
binutils — Committed

Add strings -f testcase

Adds a new test case for the `strings -f` option.

This patch introduces a new test case for the strings -f option in the binutils test suite. The change involves adding 17 lines of code to the strings.exp file to cover this specific functionality.

In the Thread 2 participants
  1. pengxu proposer

    Submits a patch to add a test case for `strings -f`.

    “--- binutils/testsuite/binutils-all/strings.exp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)”
  2. Jan Beulich reviewer

    Acknowledges and approves the submitted patch.

    “Okay.”

Technical Tradeoffs

  • Improves test coverage for the `strings` utility.
  • Minimal impact on existing functionality.

In Details

This change adds a test case to the binutils test suite, specifically for the strings -f option. The strings utility is used to extract printable strings from binary files. The -f option likely relates to specifying a file or a format for string extraction, and this patch ensures its correct behavior is tested.

For Context
strings utility
A command-line utility that scans an object file or executable and prints the printable character sequences that are at least a minimum length (defaulting to 4).
test case
A specific set of conditions or variables under which a tester will determine whether a system under test satisfies requirements or works correctly.
Filed Under: stringstestsuitebinutils