tests: pass -v flag to xbps-install(8).

This commit is contained in:
Juan RP 2014-01-15 21:51:20 +01:00
parent 6943eedd26
commit 835812df2c
2 changed files with 8 additions and 8 deletions

View File

@ -18,7 +18,7 @@ tc1_body() {
rm -rf pkg_a rm -rf pkg_a
xbps-rindex -a *.xbps xbps-rindex -a *.xbps
atf_check_equal $? 0 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 atf_check_equal $? 0
sed -e 's,fooblah,blahfoo,' -i rootdir/cf1.conf sed -e 's,fooblah,blahfoo,' -i rootdir/cf1.conf
@ -29,7 +29,7 @@ tc1_body() {
xbps-rindex -a *.xbps xbps-rindex -a *.xbps
rm -rf pkg_a rm -rf pkg_a
atf_check_equal $? 0 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 atf_check_equal $? 0
result="$(cat rootdir/cf1.conf)" result="$(cat rootdir/cf1.conf)"
rval=1 rval=1
@ -58,7 +58,7 @@ tc2_body() {
rm -rf pkg_a rm -rf pkg_a
xbps-rindex -a *.xbps xbps-rindex -a *.xbps
atf_check_equal $? 0 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 atf_check_equal $? 0
sed -e 's,fooblah,blahfoo,' -i rootdir/cf1.conf sed -e 's,fooblah,blahfoo,' -i rootdir/cf1.conf
@ -71,7 +71,7 @@ tc2_body() {
xbps-rindex -a *.xbps xbps-rindex -a *.xbps
rm -rf pkg_a rm -rf pkg_a
atf_check_equal $? 0 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 atf_check_equal $? 0
result="$(cat rootdir/cf1.conf)" result="$(cat rootdir/cf1.conf)"
rval=1 rval=1
@ -105,7 +105,7 @@ tc3_body() {
rm -rf pkg_a rm -rf pkg_a
xbps-rindex -a *.xbps xbps-rindex -a *.xbps
atf_check_equal $? 0 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 atf_check_equal $? 0
sed -e 's,fooblah,blahfoo,' -i rootdir/cf1.conf sed -e 's,fooblah,blahfoo,' -i rootdir/cf1.conf
@ -118,7 +118,7 @@ tc3_body() {
xbps-rindex -a *.xbps xbps-rindex -a *.xbps
rm -rf pkg_a rm -rf pkg_a
atf_check_equal $? 0 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 atf_check_equal $? 0
result="$(cat rootdir/cf1.conf)" result="$(cat rootdir/cf1.conf)"
rval=1 rval=1

View File

@ -31,7 +31,7 @@ issue20_body() {
rm -rf pkg_a rm -rf pkg_a
xbps-rindex -a *.xbps xbps-rindex -a *.xbps
atf_check_equal $? 0 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 atf_check_equal $? 0
mkdir pkg_a mkdir pkg_a
@ -42,7 +42,7 @@ issue20_body() {
rm -rf pkg_a rm -rf pkg_a
xbps-rindex -a *.xbps xbps-rindex -a *.xbps
atf_check_equal $? 0 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 atf_check_equal $? 0
tgt=$(readlink rootdir/foo) tgt=$(readlink rootdir/foo)
rval=1 rval=1