Closed aelsabbahy closed 9 months ago
make test-all
Fixes bug in #840
This was a regression from goss 3 -> 4
# file: goss.yaml command: Always-succeeds: exec: /bin/true exit-status: 0 Always-fails: exec: /bin/false exit-status: 0
$ goss.3.18 v -f json | jq '.results[]| {"resource-id", successful}' -c|sort {"resource-id":"Always-fails","successful":false} {"resource-id":"Always-succeeds","successful":true} $ goss v -f json | jq '.results[]| {"resource-id", successful}' -c|sort {"resource-id":"Always-fails","successful":false} {"resource-id":"Always-succeeds","successful":true}
Note: SKIPPED is considered success, this matches goss 3.x behavior
Checklist
make test-all
(UNIX) passes. CI will also test thisDescription of change
Fixes bug in #840
This was a regression from goss 3 -> 4
Note: SKIPPED is considered success, this matches goss 3.x behavior