From e1e531042809dbb3969973ca787f04e6d4ac6fb5 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 27 May 2014 11:15:40 +0200 Subject: [PATCH] tests: installmode: use -d to inspect stderr. --- tests/xbps/libxbps/shell/installmode_test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/xbps/libxbps/shell/installmode_test.sh b/tests/xbps/libxbps/shell/installmode_test.sh index b253c2d9..b235fde6 100644 --- a/tests/xbps/libxbps/shell/installmode_test.sh +++ b/tests/xbps/libxbps/shell/installmode_test.sh @@ -53,9 +53,9 @@ instmode_reinstall_body() { xbps-rindex -a *.xbps atf_check_equal $? 0 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 - 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 out=$(xbps-query -r root --property=automatic-install A) atf_check_equal $out yes