Run shellcheck in CI - #367
Conversation
The comment mentions a time for deletion, and that time has come. These tests have been ignored in CI for at least a year and reference a CLI command that no longer exists.
- Still using --ignored for swadm tests that require tofino_asic dpd.
- No longer filtering swadm tests by name. The formerly-evaded tests
were deleted in the previous commit.
- swadm tests will now modify switch state, so they should come after
packet tests. Each swadm test can handle its own setup, but it's
easier to run packet tests in a fresh state. Another option is
making swadm tests a standalone CI job. But that's probably
not warranted yet for such a small test suite.
- Script cleanup
- Commonize test env vars into a single export
- Shellcheck
- Standardize whitespacing
Working towards standardized and easily maintainable regression tests in swadm. This defines a structure for tests and adds initial validation for tx equalization and settings-apply.
- Renamed `remove` to `strip` - Added a macro for easier explicit Pattern conversions. Generic approaches conflict awkwardly with the explicit From<Regex>.
We don't want accidental regressions, but semver and docs are enough for intentional breaking changes.
Covers buildomat scripts but not tools scripts. See dendrite/issues/368 for more info.
ecfb33d to
40713e5
Compare
f152a21 to
466d7bc
Compare
🤖 CLAUDE REVIEWReviewed the two commits this PR adds on top of I re-ran the gate locally ( Checked the mechanical rewrites for behavior change and found them equivalent:
Two things I'd change, both in the new job. No correctness bugs in the lint pass itself.
|
f586f3a to
2f9d187
Compare
Inspired by oxidecomputer/maghemite#746
Follow up issue: #368