Implement shlib checks for all pkg revdeps in the transaction.

Added three new test cases to verify its correctness.
This commit is contained in:
Juan RP
2014-09-12 11:49:34 +02:00
parent b306adf52b
commit 39aca1bbc9
8 changed files with 249 additions and 76 deletions

View File

@@ -290,8 +290,11 @@ xbps_transaction_prepare(struct xbps_handle *xhp)
xhp->transd = NULL;
return rv;
}
/*
* Check for unresolved shared libraries.
*/
if (xbps_transaction_shlibs(xhp))
return ENODEV;
return ENOEXEC;
/*
* Sort package dependencies if necessary.