diff --git a/tests/compose-tests/libcomposetest.sh b/tests/compose-tests/libcomposetest.sh index 9e3298144b..7edbd64049 100644 --- a/tests/compose-tests/libcomposetest.sh +++ b/tests/compose-tests/libcomposetest.sh @@ -1,5 +1,5 @@ dn=$(cd $(dirname $0) && pwd) -test_tmpdir=$(mktemp -d /var/tmp/rpm-ostree-compose-test.XXXXXX) +test_tmpdir=$(mktemp -d ${RPMOSTREE_TMPDIR_LOCATION:-/var/tmp}/rpm-ostree-compose-test.XXXXXX) touch ${test_tmpdir}/.test trap _cleanup_tmpdir EXIT cd ${test_tmpdir}