This version should be good enough for inclusion in 2.7. I kept the temporary directory removal function local to test-logging for now, only cleaning up a single directory level. We can still factor it out and make it more generic in the 2.8 cycle. For 2.7 I'd rather stick with a minimal approach as it's very late in the cycle.
Tested successfully with the centos6 docker image. Apart from a hang (tests/test-qga) and a race condition (tests/acpi-test-disk.raw missing) that both happen even without my patches, it also works well on Ubuntu 14.04. Feel free to perform any additional fixup required to land this in rc4; I might not be around again until Tuesday. Sascha Silbe (2): glib: add compatibility implementation for g_dir_make_tmp() test-logging: don't hard-code paths in /tmp include/glib-compat.h | 21 +++++++++++++++++++++ tests/test-logging.c | 48 +++++++++++++++++++++++++++++++++++++++++------- 2 files changed, 62 insertions(+), 7 deletions(-) -- 1.9.1