tests: use xbps-install -d in two test cases.
This commit is contained in:
parent
f7441d24cf
commit
691cd26482
@ -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 -yv a
|
xbps-install -C null.conf -r rootdir --repository=$PWD -yvd 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 -yuv
|
xbps-install -C null.conf -r rootdir --repository=$PWD -yuvd
|
||||||
atf_check_equal $? 0
|
atf_check_equal $? 0
|
||||||
tgt=$(readlink rootdir/foo)
|
tgt=$(readlink rootdir/foo)
|
||||||
rval=1
|
rval=1
|
||||||
|
@ -24,7 +24,7 @@ issue6_body() {
|
|||||||
atf_check_equal $? 0
|
atf_check_equal $? 0
|
||||||
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 -yvd a
|
||||||
atf_check_equal $? 0
|
atf_check_equal $? 0
|
||||||
mkdir -p rootdir/usr/lib/firefox/dictionaries
|
mkdir -p rootdir/usr/lib/firefox/dictionaries
|
||||||
mkdir -p rootdir/usr/lib/firefox/hyphenation
|
mkdir -p rootdir/usr/lib/firefox/hyphenation
|
||||||
@ -36,7 +36,7 @@ issue6_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 -yuvd
|
||||||
atf_check_equal $? 0
|
atf_check_equal $? 0
|
||||||
tgt1=$(readlink rootdir/usr/lib/firefox/dictionaries)
|
tgt1=$(readlink rootdir/usr/lib/firefox/dictionaries)
|
||||||
tgt2=$(readlink rootdir/usr/lib/firefox/hyphenation)
|
tgt2=$(readlink rootdir/usr/lib/firefox/hyphenation)
|
||||||
|
Loading…
Reference in New Issue
Block a user