summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2012-08-24 12:50:47 +0300
committerPanu Matilainen <pmatilai@redhat.com>2012-08-24 12:50:47 +0300
commitfb0d4f643a21b7d1fcb23ee705e309c394927055 (patch)
treed67a2c597bdf86897c4dc686e12cab245f9eaa1e /tests
parent621be76cc013a36c0e37f4879e43bdaa89228a1a (diff)
downloadrpm-fb0d4f643a21b7d1fcb23ee705e309c394927055.tar.gz
rpm-fb0d4f643a21b7d1fcb23ee705e309c394927055.tar.bz2
rpm-fb0d4f643a21b7d1fcb23ee705e309c394927055.zip
Clean up testroot /opt throughly to avoid other test from affecting us
Diffstat (limited to 'tests')
-rw-r--r--tests/rpmdb.at4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rpmdb.at b/tests/rpmdb.at
index 3d1ff07f1..5b10ac67a 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