From 835812df2c608618e2ff88395d1d5adabc368fba Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 15 Jan 2014 21:51:20 +0100 Subject: [PATCH] tests: pass -v flag to xbps-install(8). --- tests/xbps/libxbps/shell/conf_files_test.sh | 12 ++++++------ tests/xbps/libxbps/shell/issue20_test.sh | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/xbps/libxbps/shell/conf_files_test.sh b/tests/xbps/libxbps/shell/conf_files_test.sh index be023550..2f0e6c26 100644 --- a/tests/xbps/libxbps/shell/conf_files_test.sh +++ b/tests/xbps/libxbps/shell/conf_files_test.sh @@ -18,7 +18,7 @@ tc1_body() { rm -rf pkg_a xbps-rindex -a *.xbps atf_check_equal $? 0 - xbps-install -C null.conf -r rootdir --repository=$PWD -y a + xbps-install -C null.conf -r rootdir --repository=$PWD -yv a atf_check_equal $? 0 sed -e 's,fooblah,blahfoo,' -i rootdir/cf1.conf @@ -29,7 +29,7 @@ tc1_body() { xbps-rindex -a *.xbps rm -rf pkg_a atf_check_equal $? 0 - xbps-install -C null.conf -r rootdir --repository=$PWD -yu + xbps-install -C null.conf -r rootdir --repository=$PWD -yuv atf_check_equal $? 0 result="$(cat rootdir/cf1.conf)" rval=1 @@ -58,7 +58,7 @@ tc2_body() { rm -rf pkg_a xbps-rindex -a *.xbps atf_check_equal $? 0 - xbps-install -C null.conf -r rootdir --repository=$PWD -y a + xbps-install -C null.conf -r rootdir --repository=$PWD -yv a atf_check_equal $? 0 sed -e 's,fooblah,blahfoo,' -i rootdir/cf1.conf @@ -71,7 +71,7 @@ tc2_body() { xbps-rindex -a *.xbps rm -rf pkg_a atf_check_equal $? 0 - xbps-install -C null.conf -r rootdir --repository=$PWD -yu + xbps-install -C null.conf -r rootdir --repository=$PWD -yuv atf_check_equal $? 0 result="$(cat rootdir/cf1.conf)" rval=1 @@ -105,7 +105,7 @@ tc3_body() { rm -rf pkg_a xbps-rindex -a *.xbps atf_check_equal $? 0 - xbps-install -C null.conf -r rootdir --repository=$PWD -y a + xbps-install -C null.conf -r rootdir --repository=$PWD -yv a atf_check_equal $? 0 sed -e 's,fooblah,blahfoo,' -i rootdir/cf1.conf @@ -118,7 +118,7 @@ tc3_body() { xbps-rindex -a *.xbps rm -rf pkg_a atf_check_equal $? 0 - xbps-install -C null.conf -r rootdir --repository=$PWD -yu + xbps-install -C null.conf -r rootdir --repository=$PWD -yuv atf_check_equal $? 0 result="$(cat rootdir/cf1.conf)" rval=1 diff --git a/tests/xbps/libxbps/shell/issue20_test.sh b/tests/xbps/libxbps/shell/issue20_test.sh index 987eae4e..9d4b8c87 100644 --- a/tests/xbps/libxbps/shell/issue20_test.sh +++ b/tests/xbps/libxbps/shell/issue20_test.sh @@ -31,7 +31,7 @@ issue20_body() { rm -rf pkg_a xbps-rindex -a *.xbps atf_check_equal $? 0 - xbps-install -C null.conf -r rootdir --repository=$PWD -y a + xbps-install -C null.conf -r rootdir --repository=$PWD -yv a atf_check_equal $? 0 mkdir pkg_a @@ -42,7 +42,7 @@ issue20_body() { rm -rf pkg_a xbps-rindex -a *.xbps atf_check_equal $? 0 - xbps-install -C null.conf -r rootdir --repository=$PWD -yu + xbps-install -C null.conf -r rootdir --repository=$PWD -yuv atf_check_equal $? 0 tgt=$(readlink rootdir/foo) rval=1