From: Panu Matilainen Date: Fri, 24 Aug 2012 09:50:47 +0000 (+0300) Subject: Clean up testroot /opt throughly to avoid other test from affecting us X-Git-Tag: tznext/4.11.0.1.tizen20130304~369 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fb0d4f643a21b7d1fcb23ee705e309c394927055;p=tools%2Flibrpm-tizen.git Clean up testroot /opt throughly to avoid other test from affecting us --- diff --git a/tests/rpmdb.at b/tests/rpmdb.at index 3d1ff07..5b10ac6 100644 --- a/tests/rpmdb.at +++ b/tests/rpmdb.at @@ -218,7 +218,7 @@ AT_CHECK([ RPMDB_CLEAR RPMDB_INIT rm -rf "${TOPDIR}" -rm -rf "${RPMTEST}"/opt/mydir +rm -rf "${RPMTEST}"/opt/* runroot rpmbuild --quiet -bb /data/SPECS/selfconflict.spec runroot rpm -U "${TOPDIR}"/RPMS/noarch/selfconflict-1.0-1.noarch.rpm @@ -239,7 +239,7 @@ AT_CHECK([ RPMDB_CLEAR RPMDB_INIT rm -rf "${TOPDIR}" -rm -rf "${RPMTEST}"/opt/mydir +rm -rf "${RPMTEST}"/opt/* runroot rpmbuild --quiet -bb /data/SPECS/selfconflict.spec runroot rpm -U "${TOPDIR}"/RPMS/noarch/selfconflict-1.0-1.noarch.rpm