tests/qtest: drop DBUS_VMSTATE_TEST_TMPDIR

It can rely on the location of the temporary configuration instead, so
we don't have to set that environment variable on every test.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
Marc-André Lureau
2026-03-17 00:33:11 +04:00
parent c28f118805
commit 2eacf4b7be
2 changed files with 1 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ write_config()
cat > "$CONF" <<EOF
<busconfig>
<type>session</type>
<listen>unix:tmpdir=$DBUS_VMSTATE_TEST_TMPDIR</listen>
<listen>unix:tmpdir=$(dirname "$CONF")</listen>
<policy context="default">
<!-- Holes must be punched in service configuration files for

View File

@@ -395,8 +395,6 @@ main(int argc, char **argv)
exit(1);
}
g_setenv("DBUS_VMSTATE_TEST_TMPDIR", workdir, true);
migration_test_add("/dbus-vmstate/without-list",
test_dbus_vmstate_without_list);
migration_test_add("/dbus-vmstate/with-list",