diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-11-22 17:51:42 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-11-22 18:10:16 +0200 |
commit | a15a475a409e4f929736d28af10bb55b5dfee17c (patch) | |
tree | c8f2a16256f55c1a23f1aa4684a0118418f95314 /tests | |
parent | a0d1153085ed74f758b5f104eef3be1e73506973 (diff) | |
download | librpm-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.in | 5 |
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}" ) } |