-
Notifications
You must be signed in to change notification settings - Fork 470
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
Add package adds uninstalled package as being installed #10
Comments
It actually works for packages that have never been installed:
|
The validation suffers from the same problem, an uninstalled package is seen as being installed even when it's not. |
Seems like a misunderstanding on my part on how I was marking a package as installed/not based on exit status. I'll change the logic to also check "${state}." I'll also add Debian integration-tests (I've been pushing this off). Thanks for the copy/paste, very clear. |
Thanks. Just forked and looking at learning Go to see if I can help with these kind bugs. |
Fixed in |
Thanks for the feedback, let me know if you have any other issues. |
A copy/paste says more than a thousand words:
I'd expect
goss a package
to recognise when a package is not installed. Or am I missing something?The text was updated successfully, but these errors were encountered: