tests: libxbps: use unexistent xbps.conf to only use local repo.

This commit is contained in:
Juan RP 2014-01-15 20:59:05 +01:00
parent 19b248d57d
commit 5176ca05e8
4 changed files with 12 additions and 12 deletions

View File

@ -18,7 +18,7 @@ tc1_body() {
rm -rf pkg_a
xbps-rindex -a *.xbps
atf_check_equal $? 0
xbps-install -r rootdir --repository=$PWD -y a
xbps-install -C null.conf -r rootdir --repository=$PWD -y 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 -r rootdir --repository=$PWD -yu
xbps-install -C null.conf -r rootdir --repository=$PWD -yu
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 -r rootdir --repository=$PWD -y a
xbps-install -C null.conf -r rootdir --repository=$PWD -y 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 -r rootdir --repository=$PWD -yu
xbps-install -C null.conf -r rootdir --repository=$PWD -yu
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 -r rootdir --repository=$PWD -y a
xbps-install -C null.conf -r rootdir --repository=$PWD -y 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 -r rootdir --repository=$PWD -yu
xbps-install -C null.conf -r rootdir --repository=$PWD -yu
atf_check_equal $? 0
result="$(cat rootdir/cf1.conf)"
rval=1

View File

@ -22,7 +22,7 @@ issue18_body() {
atf_check_equal $? 0
xbps-rindex -a *.xbps
atf_check_equal $? 0
xbps-install -r rootdir --repository=$PWD -y A B
xbps-install -C null.conf -r rootdir --repository=$PWD -y A B
atf_check_equal $? 0
xbps-create -A noarch -n A-0.2_1 -s "pkg A" --conflicts "B<0.1_2" pkg_A
@ -31,7 +31,7 @@ issue18_body() {
atf_check_equal $? 0
xbps-rindex -a *.xbps
atf_check_equal $? 0
xbps-install -r rootdir --repository=$PWD -yu
xbps-install -C null.conf -r rootdir --repository=$PWD -yu
atf_check_equal $? 0
}

View File

@ -31,7 +31,7 @@ issue20_body() {
rm -rf pkg_a
xbps-rindex -a *.xbps
atf_check_equal $? 0
xbps-install -r rootdir --repository=$PWD -y a
xbps-install -C null.conf -r rootdir --repository=$PWD -y 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 -r rootdir --repository=$PWD -yu
xbps-install -C null.conf -r rootdir --repository=$PWD -yu
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 -r rootdir --repository=$PWD -y a
xbps-install -C null.conf -r rootdir --repository=$PWD -y 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 -r rootdir --repository=$PWD -yu
xbps-install -C null.conf -r rootdir --repository=$PWD -yu
atf_check_equal $? 0
tgt1=$(readlink rootdir/usr/lib/firefox/dictionaries)
tgt2=$(readlink rootdir/usr/lib/firefox/hyphenation)