Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0 byte builds cause a silent exit #290

Open
btm opened this issue Jul 24, 2019 · 0 comments
Open

0 byte builds cause a silent exit #290

btm opened this issue Jul 24, 2019 · 0 comments
Labels
Type: Bug Does not work as expected.

Comments

@btm
Copy link

btm commented Jul 24, 2019

Version:

3.11.18

Environment:

Mac OS Mojave 10.14.5

Scenario:

The build is 0 bytes, but since we exit the same way for an error and a zero byte file, that is difficult to determine.

Steps to Reproduce:

mixlib-install install-script | sudo bash -s -- -P inspec -d /tmp -l https://packages.chef.io/files/unstable/inspec/4.7.23/mac_os_x/10.14/inspec-4.7.23-1.dmg

Expected Result:

An error is raised that the build is 0 bytes

Actual Result:

The stderr output of all the tools is raised, which don't appear incorrect unless you notice the size.

if test $rc -ne 0 || test ! -s "$2"; then

@btm btm added the Status: Untriaged An issue that has yet to be triaged. label Jul 24, 2019
@tas50 tas50 added Type: Bug Does not work as expected. and removed Status: Untriaged An issue that has yet to be triaged. labels Oct 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Does not work as expected.
Projects
None yet
Development

No branches or pull requests

2 participants