Repository navigation
env: drop the ... after --debug in --help, and fix the flaky usage_vs_getopt - #16534
Conversation
clap renders a Count flag as "--debug..."; count the occurrences of a zero-value flag instead. Should make test tests/misc/usage_vs_getopt pass
"cat pat | sort -u > pat" could truncate pat before reading it, leaving no pattern and hiding failures, which made the test pass intermittently. Drop it from the intermittent list.
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
|
GNU testsuite comparison: |
9d8975e to
69fb57f
Compare
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
env --helpshowed-v, --debug...(clap's rendering of a Count flag), so usage_vs_getopt ranenv --debug...and got an unknown-argument error. The occurrences of-v/--debugare now counted by hand.The failure was only seen from time to time because build-gnu.sh dedups the test's patterns with
cat pat | sort -u > pat, which can truncate the file before it is read and leave no pattern to check. It now usessort -u -o pat pat.Should make test tests/misc/usage_vs_getopt pass (and stop it from being reported as intermittent).