tests: obsoletefiles_test:reinstall_obsoletes add debug flag and different rv

This commit is contained in:
Duncaen 2019-06-17 11:26:03 +02:00 committed by Duncan Overbruck
parent 2a9029b736
commit 66e5b721ae

View File

@ -35,7 +35,7 @@ reinstall_obsoletes_body() {
atf_check_equal $? 0
cd ..
xbps-install -r root -C null.conf --repository=$PWD/some_repo -yvf A-1.0_1
xbps-install -r root -C null.conf --repository=$PWD/some_repo -dyvf A-1.0_1
atf_check_equal $? 0
rv=0
@ -44,7 +44,7 @@ reinstall_obsoletes_body() {
fi
for f in usr/bin/foo usr/bin/blah; do
if [ -f root/$f ]; then
rv=1
rv=2
fi
done
atf_check_equal $rv 0