diff options
Diffstat (limited to 'tests/atlocal.in')
-rw-r--r-- | tests/atlocal.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/atlocal.in b/tests/atlocal.in index 929698725..74efc6f66 100644 --- a/tests/atlocal.in +++ b/tests/atlocal.in @@ -33,3 +33,10 @@ function runroot() MAGIC="/magic/magic" FAKECHROOT_BASE="${RPMTEST}" fakechroot "$@" --define "_topdir /build" --noplugins ) } + +function runroot_other() +{ + (unset RPM_CONFIGDIR RPM_POPTEXEC_PATH; cd ${RPMTEST} && \ + FAKECHROOT_BASE="${RPMTEST}" fakechroot "$@" + ) +} |