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.
This commit is contained in:
parent
fccf3d79f0
commit
a4063763c8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user