| 557 | } |
| 558 | |
| 559 | static void |
| 560 | mainloop_tests(void) |
| 561 | { |
| 562 | trig = mainloop_add_trigger(G_PRIORITY_HIGH, trigger_iterate_mainloop_tests, NULL); |
| 563 | mainloop_set_trigger(trig); |
| 564 | mainloop_add_signal(SIGTERM, test_shutdown); |
| 565 | |
| 566 | crm_info("Starting"); |
| 567 | mainloop = g_main_new(FALSE); |
| 568 | g_main_run(mainloop); |
| 569 | } |
| 570 | |
| 571 | int |
| 572 | main(int argc, char ** argv) |
no test coverage detected