summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-11-22 17:51:42 +0200
committerPanu Matilainen <pmatilai@redhat.com>2008-11-22 18:10:16 +0200
commita15a475a409e4f929736d28af10bb55b5dfee17c (patch)
treec8f2a16256f55c1a23f1aa4684a0118418f95314 /tests
parenta0d1153085ed74f758b5f104eef3be1e73506973 (diff)
downloadlibrpm-tizen-a15a475a409e4f929736d28af10bb55b5dfee17c.tar.gz
librpm-tizen-a15a475a409e4f929736d28af10bb55b5dfee17c.tar.bz2
librpm-tizen-a15a475a409e4f929736d28af10bb55b5dfee17c.zip
Don't bother setting rpmrc specifically in tests
- RPM_CONFIGDIR environment is used
Diffstat (limited to 'tests')
-rw-r--r--tests/atlocal.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/atlocal.in b/tests/atlocal.in
index 64c116c27..02a3adcae 100644
--- a/tests/atlocal.in
+++ b/tests/atlocal.in
@@ -13,20 +13,19 @@ export RPM_CONFIGDIR
HOME="${RPMTEST}"
export HOME
-RPMRC="${RPMTEST}@RPMCONFIGDIR@/rpmrc"
TOPDIR="${RPMTEST}/build"
RPM_XFAIL=${RPM_XFAIL-1}
function run()
{
- "$@" --rcfile="${RPMRC}" --define "_topdir ${TOPDIR}"
+ "$@" --define "_topdir ${TOPDIR}"
}
function runroot()
{
(cd ${RPMTEST} && \
mkdir -p etc && touch etc/mtab &&
- FAKECHROOT_BASE="${RPMTEST}" fakechroot "$@" --rcfile="${RPMRC}" --define "_topdir ${TOPDIR}"
+ FAKECHROOT_BASE="${RPMTEST}" fakechroot "$@" --define "_topdir ${TOPDIR}"
)
}