goss-org / goss

Quick and Easy server testing/validation
https://goss.rocks
Apache License 2.0
5.57k stars 472 forks source link

goss: sha256 checksums is relative to a release directory #591

Closed deogracia closed 4 years ago

deogracia commented 4 years ago

Describe the bug since 0.3.11, a sha256 file is provided. thanks :D

For goss, the file is relative to a "release" directory, which I have not.

How To Reproduce

Expected Behavior

LANG=C sha256sum -c goss-linux-amd64.sha256 
goss-linux-amd64: OK

Actual Behavior

LANG=C sha256sum -c goss-linux-amd64.sha256 
sha256sum: release/goss-linux-amd64: No such file or directory
release/goss-linux-amd64: FAILED open or read
sha256sum: WARNING: 1 listed file could not be read

Environment:

aelsabbahy commented 4 years ago

590 will hopefully fix this.

deogracia commented 4 years ago

ah thanks, I've look for an existing issue, but not an existing PR thanks :D

aelsabbahy commented 4 years ago

Fixed by #592