Skip to content

test: properly exercise {} in -exec utility name#702

Merged
sylvestre merged 1 commit into
uutils:mainfrom
sylvestre:test/exec-placeholder-utility-name
Jun 6, 2026
Merged

test: properly exercise {} in -exec utility name#702
sylvestre merged 1 commit into
uutils:mainfrom
sylvestre:test/exec-placeholder-utility-name

Conversation

@sylvestre
Copy link
Copy Markdown
Contributor

The test from #647 used {} only in an argument, so it passed on unpatched code. Rewrite it to make the matched entry the testing-commandline binary and pass {} as the utility name, so the placeholder must resolve to the entry's path and execute.

The test from uutils#647 used {} only in an argument, so it passed on
unpatched code. Rewrite it to make the matched entry the
testing-commandline binary and pass {} as the utility name, so the
placeholder must resolve to the entry's path and execute.
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.79%. Comparing base (1a77a83) to head (e868c11).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #702      +/-   ##
==========================================
+ Coverage   91.78%   91.79%   +0.01%     
==========================================
  Files          31       31              
  Lines        6413     6413              
  Branches      338      338              
==========================================
+ Hits         5886     5887       +1     
+ Misses        401      400       -1     
  Partials      126      126              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sylvestre sylvestre merged commit e7c34ab into uutils:main Jun 6, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant