Repository navigation
Commit f2f3a9c
committed
test(hack): restore the direct yq form in the selector install tests
The programs were rewritten to start at select() to get past a
checkbashisms false positive: it reads a `.` adjacent to a quote as a
POSIX `source` with arguments, and reported it on the continuation line
rather than on the yq call, so the shape had to be contorted twice
before the warning went quiet.
sh_posix_gate now reads the quoting and suppresses that class when the
dot is inside quotes, keeping it for a real `. ./lib.sh arg` where dash
silently discards the arguments. So the contortion has nothing left to
buy, and the query goes back to the form that says what it means.
Behaviour is unchanged; the same fields are selected either way.
Assisted-By: Claude <[email protected]>
Signed-off-by: Myasnikov Daniil <[email protected]>1 parent 30b5c07 commit f2f3a9c
1 file changed
Lines changed: 7 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
261 | 259 | | |
262 | 260 | | |
263 | 261 | | |
| |||
284 | 282 | | |
285 | 283 | | |
286 | 284 | | |
287 | | - | |
288 | | - | |
| 285 | + | |
| 286 | + | |
289 | 287 | | |
290 | 288 | | |
291 | 289 | | |
| |||
0 commit comments