From a4063763c883ca4c16d5d6e8bc515c1191d24a4f Mon Sep 17 00:00:00 2001 From: Duncan Overbruck Date: Fri, 19 Mar 2021 13:56:48 +0100 Subject: [PATCH] tests: fix test to check for the correct exit status 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. --- tests/xbps/libxbps/shell/update_hold_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/xbps/libxbps/shell/update_hold_test.sh b/tests/xbps/libxbps/shell/update_hold_test.sh index 014a18a4..84822f3f 100644 --- a/tests/xbps/libxbps/shell/update_hold_test.sh +++ b/tests/xbps/libxbps/shell/update_hold_test.sh @@ -98,7 +98,7 @@ update_pkg_with_held_dep_body() { atf_check_equal $? 0 xbps-install -r root -C empty.conf --repository=$PWD -d -yv pkginst - atf_check_equal $? 0 + atf_check_equal $? 19 } atf_test_case hold_update_revdep