From 691cd2648230424ced27590679c167447ac2f75e Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 5 Oct 2014 08:55:57 +0200 Subject: [PATCH] tests: use xbps-install -d in two test cases. --- tests/xbps/libxbps/shell/issue20_test.sh | 4 ++-- tests/xbps/libxbps/shell/issue6_test.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/xbps/libxbps/shell/issue20_test.sh b/tests/xbps/libxbps/shell/issue20_test.sh index 9d4b8c87..3de245c9 100644 --- a/tests/xbps/libxbps/shell/issue20_test.sh +++ b/tests/xbps/libxbps/shell/issue20_test.sh @@ -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 diff --git a/tests/xbps/libxbps/shell/issue6_test.sh b/tests/xbps/libxbps/shell/issue6_test.sh index 7a32c0ee..876d2ad6 100644 --- a/tests/xbps/libxbps/shell/issue6_test.sh +++ b/tests/xbps/libxbps/shell/issue6_test.sh @@ -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)