Dummy-Backend: special case unit-test

This commit is contained in:
Robin Gareus 2015-09-05 01:15:28 +02:00
parent b66bf67030
commit d6df63ed91

View file

@ -1354,6 +1354,10 @@ deinstantiate ()
static bool
already_configured ()
{
// special-case: unit-tests require backend to be pre-configured.
if (s_instance_name == "Unit-Test") {
return true;
}
return false;
}