summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-11-22 18:08:40 +0200
committerPanu Matilainen <pmatilai@redhat.com>2008-11-22 18:08:40 +0200
commit43b08986a8aa0464566716f6fe0d510e96cd77bf (patch)
treea8252ad0d7d188057f6fc3491a83ee947a6907ae /tests
parentda83a562e1fd81402a39b7c3edfdc413fa860d8c (diff)
downloadlibrpm-tizen-43b08986a8aa0464566716f6fe0d510e96cd77bf.tar.gz
librpm-tizen-43b08986a8aa0464566716f6fe0d510e96cd77bf.tar.bz2
librpm-tizen-43b08986a8aa0464566716f6fe0d510e96cd77bf.zip
Use rpmConfigDir() for finding our popt alias file
- this allows popt aliases to be reliably available in tests - why do we have the popt initialization done twice?
Diffstat (limited to 'tests')
-rw-r--r--tests/atlocal.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/atlocal.in b/tests/atlocal.in
index b392e8c7c..64c116c27 100644
--- a/tests/atlocal.in
+++ b/tests/atlocal.in
@@ -6,6 +6,9 @@ export PATH
RPMTEST="${abs_builddir}/testing"
RPMDATA="${abs_srcdir}/data/"
+RPM_CONFIGDIR="${RPMTEST}/@RPMCONFIGDIR@"
+export RPM_CONFIGDIR
+
# Popt looks into $HOME
HOME="${RPMTEST}"
export HOME