tests: use xbps-install -d in two test cases.

This commit is contained in:
Juan RP 2014-10-05 08:55:57 +02:00
parent f7441d24cf
commit 691cd26482
2 changed files with 4 additions and 4 deletions

View File

@ -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 -yv a
xbps-install -C null.conf -r rootdir --repository=$PWD -yvd 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 -yuv
xbps-install -C null.conf -r rootdir --repository=$PWD -yuvd
atf_check_equal $? 0
tgt=$(readlink rootdir/foo)
rval=1

View File

@ -24,7 +24,7 @@ issue6_body() {
atf_check_equal $? 0
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 -yvd a
atf_check_equal $? 0
mkdir -p rootdir/usr/lib/firefox/dictionaries
mkdir -p rootdir/usr/lib/firefox/hyphenation
@ -36,7 +36,7 @@ issue6_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 -yuvd
atf_check_equal $? 0
tgt1=$(readlink rootdir/usr/lib/firefox/dictionaries)
tgt2=$(readlink rootdir/usr/lib/firefox/hyphenation)