Corpus test: the instructions for adding a board run scripts/corpus.mjs, which does not exist #20
Labels
No labels
bug
documentation
enhancement
performance
security
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Postulo/postulo-chromium#20
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found on 2026-09-29 in a read-only review of postulo-chromium at
7998de372, by following the corpus test's instructions for adding a board.The comment at the top of the corpus test tells a contributor adding a board to "run
node scripts/corpus.mjs <url>to see what is read off it now".scripts/holds onlybuild.mjsandicons.py, nothing else in the repository namescorpus.mjs, and the repository's history has never held a file at that path.test/corpus.test.mjs:14, the "Adding a board" paragraph.scripts/corpus.mjs, which reads a saved page (a file path is enough; fetching a URL is not needed) withjsdomand prints whatreadPosting()andreadPostings()fromsrc/lib/parse.jsreturn, astest/corpus.test.mjsalready does; or rewrite the paragraph to describe the manual steps. If the script is added, list it in the layout table inREADME.md.Done when
node scripts/corpus.mjs test/fixtures/<name>.htmlprints the fields read off that fixture, ortest/corpus.test.mjsno longer names a script that does not exist.