test-logging: don't hard-code paths in /tmp
Status from this message: Applied to master (with minor fixup to patch 1); thanks.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 3 repliesApplied
- v11 patch 5 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | glib: add compatibility implementation for g_dir_make_tmp()include/ | +21 | 2 replies | |
| 2/2 | test-logging: don't hard-code paths in /tmptests/ | +41 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [Qemu-devel] [PATCH for-v2.7 v2 0/2] test-logging: don't hard-code paths in /tmp
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(-)
Signature · 1 line
1.9.1