libxbps: fixed regression introduced in 0.58.

While looking for dependencies, we need to check
if xbps_rpool_get_pkg() returned a suitable match;
and then validate its result.

This fixes the update_and_install test case that
was reverted via #218.
This commit is contained in:
Juan RP
2020-02-03 09:19:54 +01:00
parent 2612cb9bbe
commit 5b43614e80
2 changed files with 34 additions and 3 deletions

View File

@@ -598,7 +598,6 @@ atf_test_case update_and_install
update_and_install_head() {
atf_set "descr" "Tests for pkg install: update installed version and install new from other repo"
atf_expect_fail "fix introduced a regression"
}
update_and_install_body() {