Skip to content

tests: fix "gpatch --version" error message on mac#235

Open
marc-hb wants to merge 1 commit into
uutils:mainfrom
marc-hb:gpatch-errmsg
Open

tests: fix "gpatch --version" error message on mac#235
marc-hb wants to merge 1 commit into
uutils:mainfrom
marc-hb:gpatch-errmsg

Conversation

@marc-hb
Copy link
Copy Markdown
Contributor

@marc-hb marc-hb commented May 24, 2026

When we fail to find gpatch, don't say that we failed to find patch.

Cosmetic fix to commit 1254f14 ("tests: validate "patch" and "ed" commands once, print meaningful messages (#226)")

This is an extremely minor fix because the error message already printed "gpatch validation failed, no such file or directory" even before this commit.

When we fail to find `gpatch`, don't say that we failed to find `patch`.

Cosmetic fix to commit 1254f14 ("tests: validate "patch" and "ed"
commands once, print meaningful messages (uutils#226)")

This is an extremely minor fix because the error message already printed
"gpatch validation failed, no such file or directory" even before this
commit.

Signed-off-by: Marc Herbert <Marc.Herbert@gmail.com>
@marc-hb marc-hb marked this pull request as ready for review May 24, 2026 16:39
@codecov
Copy link
Copy Markdown

codecov Bot commented May 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (1254f14) to head (0116156).

Additional details and impacted files
@@     Coverage Diff     @@
##   main   #235   +/-   ##
===========================
===========================

☔ View full report in Codecov by Sentry.
📢 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.

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