lib/package_fulldeptree.c: don't add the package itself to the fulldeptree result

This was noticed a few days ago by @leah2.
This commit is contained in:
Duncaen
2019-06-30 22:01:37 +02:00
committed by Juan RP
parent 57256c2328
commit 7c3029589c
2 changed files with 7 additions and 6 deletions

View File

@@ -93,8 +93,8 @@ incorrect_dep_dups_body() {
out=$(xbps-query -C empty.conf -r root --fulldeptree -x B)
set -- $out
atf_check_equal $# 2
atf_check_equal "$1 $2" "B-1.0_1 A-1.0_1"
atf_check_equal $# 1
atf_check_equal "$1" "A-1.0_1"
}
atf_test_case missing_deps