tests/xbps/libxbps/shell/remove_test.sh: use -d arg to see what's going on.

This commit is contained in:
Juan RP 2014-05-22 10:49:17 +02:00
parent 0e7e2c0148
commit e2b0de8859

View File

@ -66,7 +66,7 @@ remove_symlinks_body() {
atf_check_equal $? 0 atf_check_equal $? 0
xbps-pkgdb -r root -m manual A xbps-pkgdb -r root -m manual A
atf_check_equal $? 0 atf_check_equal $? 0
xbps-remove -r root -Ryv B xbps-remove -r root -Ryvd B
atf_check_equal $? 0 atf_check_equal $? 0
rv=0 rv=0
if [ -h root/usr/lib/libfoo.so ]; then if [ -h root/usr/lib/libfoo.so ]; then
@ -96,7 +96,7 @@ remove_symlinks_from_root_body() {
cd .. cd ..
xbps-install -r root -C null.conf --repository=$PWD/some_repo -y A xbps-install -r root -C null.conf --repository=$PWD/some_repo -y A
atf_check_equal $? 0 atf_check_equal $? 0
xbps-remove -r root -Ryv A xbps-remove -r root -Ryvd A
atf_check_equal $? 0 atf_check_equal $? 0
rv=0 rv=0
if [ -h root/bin/bash -o -h root/bin/sh ]; then if [ -h root/bin/bash -o -h root/bin/sh ]; then