Commit 4380bd1
committed
Stop the matrix depending on tools BusyBox does not ship
Two of my own assertions failed on Alpine for reasons that had nothing to do
with the product. The no-jq case read the installed hook command with python3,
which a slim image does not have, so a real assertion about install.sh reported
as an environment failure. And the idempotency case fingerprinted the tree with
shasum, which is macOS's spelling; BusyBox ships sha256sum and no shasum.
The harness may use jq freely — the jq-less constraint is on install.sh's PATH,
not on the test — so the hook command is read with jq now. The fingerprint takes
whichever checksum tool exists and falls back to size and path, which is enough
to catch a second run rewriting the tree.
Verified by re-running with python3 and shasum removed from PATH.1 parent 508d9b9 commit 4380bd1
1 file changed
Lines changed: 15 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
165 | | - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
166 | 168 | | |
167 | 169 | | |
168 | 170 | | |
| |||
194 | 196 | | |
195 | 197 | | |
196 | 198 | | |
197 | | - | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
198 | 209 | | |
199 | | - | |
| 210 | + | |
200 | 211 | | |
201 | 212 | | |
202 | 213 | | |
| |||
0 commit comments