From 24a03871e2946daad967779847bbbdfe36bd99b3 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Wed, 6 Mar 2013 13:29:27 +0200 Subject: [PATCH] Force known _tmppath during test-suite non-chroot builds - Rpm might be configure'd with a _tmppath that isn't writable or even existing on the build-host, force our testing tmp directory to be used for package builds which cannot be executed within the test-root. - Fixes a few false positives in the test-suite by making it less reliant on the configuration of the built rpm and build host (cherry picked from commit ec00b3f02e3caab77849338bdb6422bf6ab7c306) --- tests/atlocal.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/atlocal.in b/tests/atlocal.in index 5ce6f4f..10ff27a 100644 --- a/tests/atlocal.in +++ b/tests/atlocal.in @@ -24,7 +24,7 @@ RPM_XFAIL=${RPM_XFAIL-1} function run() { - "$@" --define "_topdir ${TOPDIR}" --dbpath="${RPMTEST}/var/lib/rpm/" + "$@" --define "_tmppath ${RPMTEST}/tmp" --define "_topdir ${TOPDIR}" --dbpath="${RPMTEST}/var/lib/rpm/" } function runroot() -- 2.7.4