We use these in QEMU command lines, so we should poison them
to catch test suite issues.
Signed-off-by: Andrea Bolognani <abologna(a)redhat.com>
---
tests/testutils.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/testutils.c b/tests/testutils.c
index e8cb8e6737..d77b9e8db2 100644
--- a/tests/testutils.c
+++ b/tests/testutils.c
@@ -820,6 +820,9 @@ int virTestMain(int argc,
g_setenv("HOME", "/bad-test-used-env-home", TRUE);
g_setenv("XDG_RUNTIME_DIR", "/bad-test-used-env-xdg-runtime-dir",
TRUE);
+ g_setenv("XDG_DATA_HOME", "/bad-test-used-env-xdg-data-home",
TRUE);
+ g_setenv("XDG_CACHE_HOME", "/bad-test-used-env-xdg-cache-home",
TRUE);
+ g_setenv("XDG_CONFIG_HOME", "/bad-test-used-env-xdg-config-home",
TRUE);
va_start(ap, func);
while ((lib = va_arg(ap, const char *))) {
--
2.39.2