alternatives: fixed replace_alternative_with_symlink test case.
Only 1 expected failure now!
This commit is contained in:
parent
94b56d7539
commit
732a0e6bdf
@ -507,12 +507,10 @@ remove_obsoletes(struct xbps_handle *xhp, char *pkgname, const char *pkgver,
|
||||
* Check if current provider in pkgdb is this pkg.
|
||||
*/
|
||||
array2 = xbps_dictionary_get(pkgdb_alts, keyname);
|
||||
if (array2 == NULL) {
|
||||
remove_symlinks(xhp, array, keyname);
|
||||
} else {
|
||||
if (array2) {
|
||||
xbps_array_get_cstring_nocopy(array2, 0, &first);
|
||||
if (strcmp(pkgname, first) == 0) {
|
||||
remove_symlinks(xhp, array, keyname);
|
||||
remove_symlinks(xhp, array_repo, keyname);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -772,8 +772,6 @@ replace_alternative_with_symlink_head() {
|
||||
atf_set "descr" "xbps-alternatives: replace alternative group with a symlink"
|
||||
}
|
||||
replace_alternative_with_symlink_body() {
|
||||
atf_expect_fail "not fixed yet"
|
||||
|
||||
mkdir -p repo pkg_A/usr/bin
|
||||
touch pkg_A/usr/bin/fileA
|
||||
cd repo
|
||||
|
Loading…
Reference in New Issue
Block a user