summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/atlocal.in3
-rw-r--r--tests/local.at2
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/atlocal.in b/tests/atlocal.in
index 02a3adcae..011f9beb1 100644
--- a/tests/atlocal.in
+++ b/tests/atlocal.in
@@ -7,7 +7,8 @@ RPMTEST="${abs_builddir}/testing"
RPMDATA="${abs_srcdir}/data/"
RPM_CONFIGDIR="${RPMTEST}/@RPMCONFIGDIR@"
-export RPM_CONFIGDIR
+RPM_POPTEXEC_PATH="${RPMTEST}/@usrbindir@"
+export RPM_CONFIGDIR RPM_POPTEXEC_PATH
# Popt looks into $HOME
HOME="${RPMTEST}"
diff --git a/tests/local.at b/tests/local.at
index 0881e0cde..5808596e4 100644
--- a/tests/local.at
+++ b/tests/local.at
@@ -1,7 +1,7 @@
AT_TESTED([rpm rpmbuild rpmquery])
m4_define([RPMDB_INIT],[[
-run rpmdb \
+run rpm \
--root="${abs_builddir}"/testing \
--initdb
]])