tests: installmode: use -d to inspect stderr.

This commit is contained in:
Juan RP 2014-05-27 11:15:40 +02:00
parent 18e0524287
commit e1e5310428

View File

@ -53,9 +53,9 @@ instmode_reinstall_body() {
xbps-rindex -a *.xbps xbps-rindex -a *.xbps
atf_check_equal $? 0 atf_check_equal $? 0
cd .. cd ..
xbps-install -r root -C null.conf --repository=$PWD/some_repo -A -y A-1.0_1 xbps-install -r root -C null.conf --repository=$PWD/some_repo -Ayd A-1.0_1
atf_check_equal $? 0 atf_check_equal $? 0
xbps-install -r root -C null.conf --repository=$PWD/some_repo -yf A-1.0_1 xbps-install -r root -C null.conf --repository=$PWD/some_repo -yfd A-1.0_1
atf_check_equal $? 0 atf_check_equal $? 0
out=$(xbps-query -r root --property=automatic-install A) out=$(xbps-query -r root --property=automatic-install A)
atf_check_equal $out yes atf_check_equal $out yes