Skip to content

chore: remove cmd/crctest, a dev tool whose values TestCRC32C checks - #112

Merged
mattmattox merged 1 commit into
mainfrom
claude/remove-crctest
Nov 13, 2026
Merged

mattmattox merged 1 commit into
mainfrom
claude/remove-crctest

Conversation

@mattmattox

Copy link
Copy Markdown
Contributor

The PM asked to keep cmd/crctest out of the release or move it under tools/. This PR deletes it instead:

  • It already stayed out of the release: scripts/dist.sh builds mount, fsck and gfsctl by name, and make build never built it.
  • It prints exactly two values: the CRC32C of "hello" (0x9a71bb4c) and of a single zero byte (0x527d5351). internal/storage's TestCRC32C already asserts both.
  • Nothing references it except the CLAUDE.md code map and the errcheck path rule. Both are updated, and CHANGELOG lists it under Removed.

Moving it under tools/ would keep 10 lines that duplicate a unit test.

🤖 Generated with Claude Code

It printed the CRC32C of "hello" and of a zero byte. internal/storage
TestCRC32C asserts both, and dist.sh and make build never built it, so
nothing ships or uses it.

Co-Authored-By: Claude Opus 5.5 <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