Fix livestatus unit tests on Linux/Windows

refs #8806
This commit is contained in:
Gunnar Beutner 2016-08-28 15:14:49 +02:00
parent c8816385e5
commit 20174a0baa
2 changed files with 3 additions and 1 deletions

View File

@ -120,7 +120,7 @@ if(ICINGA2_WITH_LIVESTATUS)
add_boost_test(livestatus
SOURCES livestatus-test.cpp ${livestatus_test_SOURCES}
LIBRARIES base config icinga methods livestatus
LIBRARIES base config icinga livestatus
DEPENDENCIES methods
TESTS livestatus/hosts livestatus/services
)

View File

@ -52,6 +52,8 @@ struct LivestatusFixture
static void CreateTestObjects(void)
{
String config = R"CONFIG(
library "methods"
object CheckCommand "dummy" {
command = "/bin/echo"
}