summaryrefslogtreecommitdiff
path: root/tests/rpmconfig.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/rpmconfig.at
parentb96a9130acd0b0ee81073073d3edcedafc6ea6ae (diff)
downloadlibrpm-tizen-f5b288fef63f471a2b347698946547a08f277610.tar.gz
librpm-tizen-f5b288fef63f471a2b347698946547a08f277610.tar.bz2
librpm-tizen-f5b288fef63f471a2b347698946547a08f277610.zip
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/rpmconfig.at')
-rw-r--r--tests/rpmconfig.at4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/rpmconfig.at b/tests/rpmconfig.at
index cbf4868ef..c8ad81a6f 100644
--- a/tests/rpmconfig.at
+++ b/tests/rpmconfig.at
@@ -8,6 +8,7 @@ AT_SETUP([rpm -U to package with unchanged config file])
AT_KEYWORDS([install])
AT_CHECK([
RPMDB_CLEAR
+RPMDB_INIT
rm -rf "${TOPDIR}"
rm -rf "${RPMTEST}/etc/my.conf"
@@ -31,6 +32,7 @@ AT_SETUP([rpm -U to package with locally modified config file])
AT_KEYWORDS([install])
AT_CHECK([
RPMDB_CLEAR
+RPMDB_INIT
rm -rf "${TOPDIR}"
rm -rf "${RPMTEST}/etc/my.conf"
@@ -55,6 +57,7 @@ AT_SETUP([rpm -U to package with unchanged config file])
AT_KEYWORDS([install])
AT_CHECK([
RPMDB_CLEAR
+RPMDB_INIT
rm -rf "${TOPDIR}"
rm -rf "${RPMTEST}/etc/my.conf"
@@ -78,6 +81,7 @@ AT_SETUP([rpm -U to package with modified config file])
AT_KEYWORDS([install])
AT_CHECK([
RPMDB_CLEAR
+RPMDB_INIT
rm -rf "${TOPDIR}"
rm -rf "${RPMTEST}/etc/my.conf"