tests: xbps-rindex/add: set rootdir to not use host repo.d
This commit is contained in:
parent
fc368e159d
commit
5b5a948f15
@ -21,7 +21,7 @@ update_body() {
|
||||
xbps-rindex -a *.xbps
|
||||
atf_check_equal $? 0
|
||||
cd ..
|
||||
result="$(xbps-query -C empty.conf --repository=some_repo -s '')"
|
||||
result="$(xbps-query -r root -C empty.conf --repository=some_repo -s '')"
|
||||
expected="[-] foo-1.1_1 foo pkg"
|
||||
rv=0
|
||||
if [ "$result" != "$expected" ]; then
|
||||
@ -49,7 +49,7 @@ revert_body() {
|
||||
xbps-rindex -a *.xbps
|
||||
atf_check_equal $? 0
|
||||
cd ..
|
||||
result="$(xbps-query -C empty.conf --repository=some_repo -s '')"
|
||||
result="$(xbps-query -r root -C empty.conf --repository=some_repo -s '')"
|
||||
expected="[-] foo-1.0_1 foo pkg"
|
||||
rv=0
|
||||
if [ "$result" != "$expected" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user