Skip to content

fix: add 5 missing test files to MANIFEST#382

Draft
Koan-Bot wants to merge 4 commits intocpan-authors:mainfrom
atoomic:koan.atoomic/fix-manifest-missing-tests
Draft

fix: add 5 missing test files to MANIFEST#382
Koan-Bot wants to merge 4 commits intocpan-authors:mainfrom
atoomic:koan.atoomic/fix-manifest-missing-tests

Conversation

@Koan-Bot
Copy link
Copy Markdown
Contributor

What

Add 5 test files to MANIFEST that were tracked in git but missing from the distribution.

Why

These tests won't be included in the CPAN tarball without MANIFEST entries, so make test from a CPAN install skips them silently.

How

  • Added to MANIFEST: t/binmode.t, t/fttext_ftbinary.t, t/open_pipe_mode.t, t/open_pipe_mode_strict.t, t/readline_line_number.t
  • Added .claude/ to MANIFEST.SKIP to suppress filecheck warnings

Testing

manicheck() and filecheck() both return clean after the fix.

🤖 Generated with Claude Code

Koan-Bot and others added 4 commits April 19, 2026 06:08
t/binmode.t, t/fttext_ftbinary.t, t/open_pipe_mode.t,
t/open_pipe_mode_strict.t, and t/readline_line_number.t were tracked in
git but missing from MANIFEST, so they would not ship in the CPAN tarball.

Also add .claude/ to MANIFEST.SKIP to suppress filecheck noise.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Test::CheckManifest has a known bug (reneeb/Test-CheckManifest#20) so
the manifest test was permanently skipped. Replace it with
ExtUtils::Manifest's manicheck/filecheck which are core modules and
work reliably. Keeps the RELEASE_TESTING guard.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
ExtUtils::Manifest uses File::Find which calls chdir — this fails
under taint mode (-T) with "Insecure dependency in chdir". The old
Test::CheckManifest-based test had -T but never ran (was skip_all'd).
Now that the test actually runs, drop the taint flag.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The `is(...) or diag(...) for @array` pattern was parsed as a loop —
when the array was empty, the is() assertion never executed, producing
0 tests. Test::More with done_testing() and 0 tests outputs `1..0`
which the harness interprets as skip, followed by exit 255.

Separate the is() and diag() so is() always runs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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