Merged
Conversation
Member
Why? It looks ok.
0.52 that fixes issue (crash) for which test was written don't install it. The test can be just changed to assert actual result (19) and doubled with below. ...
xbps-install -r root -C empty.conf --repository=$PWD -d -yv pkginst pkgdep
atf_check_equal $? 0
atf_check_equal $(xbps-query -r root -p pkgver pkgdep) pkgdep-22_1 |
…ies makes no sense
Previously xbps just ignored hold packages, now it will exit with an error code in case there is a dependency conflict with a held dependency since it would previously result in inconsistent dependency state.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This feels more like a workaround, not sure if I get it right.
At least all tests, except one that to me doesn't make a lot of sense pass.
The failing test expects the install to work, but now the install will fail.
Here is the failing
xbps-installfrom the now failing test:And here is the output prior to breaking the test:
Whats wrong with this to me is that it tests installing
pkginstand with a missing dep.Maybe the expected result was to install
pkgdep-22_1instead of using the virtual package provider and the test did not check if correctly if this happens and was broken at some point but did not error out.