mirror of https://github.com/Icinga/icinga2.git
Use the "plugin-check-command" template in the livestatus unit tests
refs #12338
This commit is contained in:
parent
9c6e2cdff9
commit
827b230467
|
@ -46,7 +46,7 @@ struct LivestatusFixture
|
||||||
cfgfp.open(cfg_file_path_tmp.CStr(), std::ofstream::out | std::ofstream::trunc);
|
cfgfp.open(cfg_file_path_tmp.CStr(), std::ofstream::out | std::ofstream::trunc);
|
||||||
cfgfp << std::fixed;
|
cfgfp << std::fixed;
|
||||||
cfgfp << "object CheckCommand \"dummy\" {\n";
|
cfgfp << "object CheckCommand \"dummy\" {\n";
|
||||||
cfgfp << " execute = PluginCheck\n";
|
cfgfp << " import \"plugin-check-command\"\n";
|
||||||
cfgfp << " command = \"/bin/echo\"\n";
|
cfgfp << " command = \"/bin/echo\"\n";
|
||||||
cfgfp << "}\n";
|
cfgfp << "}\n";
|
||||||
cfgfp << "object Host \"test-01\" {\n";
|
cfgfp << "object Host \"test-01\" {\n";
|
||||||
|
|
Loading…
Reference in New Issue