summaryrefslogtreecommitdiff
path: root/tests/rpmi.at
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2011-04-01 17:43:13 +0300
committerPanu Matilainen <pmatilai@redhat.com>2011-04-01 17:43:13 +0300
commitf5b288fef63f471a2b347698946547a08f277610 (patch)
treeab30c3959821bce858b3896e978648650cef66fc /tests/rpmi.at
parentb96a9130acd0b0ee81073073d3edcedafc6ea6ae (diff)
downloadrpm-f5b288fef63f471a2b347698946547a08f277610.tar.gz
Explicitly initialize the test-root database always
- Otherwise various places will be emitting "generating xx missing indexes" warnings, we dont want that noise in the test-suite results
Diffstat (limited to 'tests/rpmi.at')
-rw-r--r--tests/rpmi.at6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/rpmi.at b/tests/rpmi.at
index 4d536336a..8694c54f4 100644
--- a/tests/rpmi.at
+++ b/tests/rpmi.at
@@ -102,6 +102,7 @@ AT_CLEANUP
AT_SETUP([rpm -U upgrade to newer])
AT_CHECK([
RPMDB_CLEAR
+RPMDB_INIT
rm -rf "${TOPDIR}"
for v in "1.0" "2.0"; do
@@ -124,6 +125,7 @@ AT_CLEANUP
AT_SETUP([rpm -U upgrade to older])
AT_CHECK([
RPMDB_CLEAR
+RPMDB_INIT
runroot rpm -U "${TOPDIR}"/RPMS/noarch/versiontest-2.0-1.noarch.rpm
runroot rpm -U "${TOPDIR}"/RPMS/noarch/versiontest-1.0-1.noarch.rpm
@@ -138,6 +140,7 @@ AT_CLEANUP
AT_SETUP([rpm -U --oldpackage downgrade])
AT_CHECK([
RPMDB_CLEAR
+RPMDB_INIT
runroot rpm -U "${TOPDIR}"/RPMS/noarch/versiontest-2.0-1.noarch.rpm
runroot rpm -U --oldpackage "${TOPDIR}"/RPMS/noarch/versiontest-1.0-1.noarch.rpm
@@ -153,6 +156,7 @@ AT_CLEANUP
AT_SETUP([rpm -U two versions of same package])
AT_CHECK([
RPMDB_CLEAR
+RPMDB_INIT
runroot rpm -U \
"${TOPDIR}"/RPMS/noarch/versiontest-1.0-1.noarch.rpm \
@@ -169,6 +173,7 @@ AT_CLEANUP
AT_SETUP([rpm -i two versions of same package])
AT_CHECK([
RPMDB_CLEAR
+RPMDB_INIT
runroot rpm -i \
"${TOPDIR}"/RPMS/noarch/versiontest-1.0-1.noarch.rpm \
@@ -187,6 +192,7 @@ AT_CLEANUP
AT_SETUP([rpm -i identical versions of same package])
AT_CHECK([
RPMDB_CLEAR
+RPMDB_INIT
runroot rpm -i \
"${TOPDIR}"/RPMS/noarch/versiontest-1.0-1.noarch.rpm \