test-spawn-oom fails on Windows with memory checking enabled
Running test-spawn-oom with memory checking enabled on Windows fails with the following errors:
dbus[32]: error: Not expecting error when launching segfaulting executable: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to spawn child
How to reproduce
In dbus/dbus-memory.c change the mentioned location below, then compile and run test-spawn-oom
dbus_bool_t
_dbus_decrement_fail_alloc_counter (void)
{
_dbus_initialize_malloc_debug ();
-#ifdef DBUS_WIN
+#ifdef _DBUS_WIN
Additional information
With !223 (merged) the new error name has been introduced and needs to be added to this test as expected error.