Skip to content

exfatprogs: add test-version.sh#29423

Closed
commodo wants to merge 1 commit into
openwrt:masterfrom
commodo:exfatprogs-test-version
Closed

exfatprogs: add test-version.sh#29423
commodo wants to merge 1 commit into
openwrt:masterfrom
commodo:exfatprogs-test-version

Conversation

@commodo

@commodo commodo commented May 11, 2026

Copy link
Copy Markdown
Contributor

📦 Package Details

Maintainer: @dangowrt

Description:

Add test-version.sh: fsck.exfat and mkfs.exfat both print the version string via show_version() but exit non-zero when invoked with -V (fsck exits with FSCK_EXIT_SYNTAX_ERROR, mkfs exits with EXIT_FAILURE). The CI generic version checker uses '|| continue' to skip failed commands, so it never sees the printed version and reports "No executables in the package provided version X.Y.Z".

test-version.sh captures the output regardless of exit code and greps for the expected version string, fixing the generic test failure.


🧪 Run Testing Details

  • OpenWrt Version:
  • OpenWrt Target/Subtarget:
  • OpenWrt Device:

✅ Formalities

  • I have reviewed the CONTRIBUTING.md file for detailed contributing guidelines.

Add test-version.sh: fsck.exfat and mkfs.exfat both print the
version string via show_version() but exit non-zero when invoked with
-V (fsck exits with FSCK_EXIT_SYNTAX_ERROR, mkfs exits with
EXIT_FAILURE).  The CI generic version checker uses '|| continue' to
skip failed commands, so it never sees the printed version and reports
"No executables in the package provided version X.Y.Z".

test-version.sh captures the output regardless of exit code and greps
for the expected version string, fixing the generic test failure.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
@commodo commodo mentioned this pull request May 11, 2026
1 task
@dangowrt

Copy link
Copy Markdown
Member

I don't think this should be addressed for each package indivually.
The better fix would be openwrt/actions-shared-workflows#112

@dangowrt dangowrt closed this May 11, 2026
@commodo commodo deleted the exfatprogs-test-version branch May 11, 2026 12:08
@commodo

commodo commented May 11, 2026

Copy link
Copy Markdown
Contributor Author

Fine by me.
I do hope the CI stabilizes quickly again.

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.

2 participants