summaryrefslogtreecommitdiff
path: root/tests/rpmconflict.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/rpmconflict.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/rpmconflict.at')
-rw-r--r--tests/rpmconflict.at6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/rpmconflict.at b/tests/rpmconflict.at
index 802804d62..86e6aa19f 100644
--- a/tests/rpmconflict.at
+++ b/tests/rpmconflict.at
@@ -8,6 +8,7 @@ AT_SETUP([rpm -U to package with file conflict])
AT_KEYWORDS([install])
AT_CHECK([
RPMDB_CLEAR
+RPMDB_INIT
rm -rf "${TOPDIR}"
for p in "one" "two"; do
@@ -31,6 +32,7 @@ AT_SETUP([rpm -U two packages with a conflicting file])
AT_KEYWORDS([install])
AT_CHECK([
RPMDB_CLEAR
+RPMDB_INIT
runroot rpm -U \
"${TOPDIR}"/RPMS/noarch/conflictone-1.0-1.noarch.rpm \
@@ -47,6 +49,7 @@ AT_SETUP([rpm -U package with shareable file])
AT_KEYWORDS([install])
AT_CHECK([
RPMDB_CLEAR
+RPMDB_INIT
rm -rf "${TOPDIR}"
for p in "one" "two"; do
@@ -70,6 +73,7 @@ AT_SETUP([rpm -U two packages with shareable file])
AT_KEYWORDS([install])
AT_CHECK([
RPMDB_CLEAR
+RPMDB_INIT
runroot rpm -U \
"${TOPDIR}"/RPMS/noarch/conflictone-1.0-1.noarch.rpm \
@@ -87,6 +91,7 @@ AT_SETUP([rpm -U replacing directory with symlink])
AT_KEYWORDS([install])
AT_CHECK([
RPMDB_CLEAR
+RPMDB_INIT
rm -rf "${TOPDIR}"
rm -rf "${RPMTEST}"/usr/{share,lib}/symlinktest*
@@ -114,6 +119,7 @@ AT_SETUP([rpm -U replacing symlink with directory])
AT_KEYWORDS([install])
AT_CHECK([
RPMDB_CLEAR
+RPMDB_INIT
rm -rf "${TOPDIR}"
rm -rf "${RPMTEST}"/usr/{share,lib}/symlinktest*