| 541 | } |
| 542 | |
| 543 | static int test_hc_cb (void) |
| 544 | { |
| 545 | cs_error_t res; |
| 546 | printf ("%s %d\n", __FUNCTION__, ++test_hc_cb_count); |
| 547 | |
| 548 | res = sam_data_store (&test_hc_cb_count, sizeof (test_hc_cb_count)); |
| 549 | if (res != CS_OK) |
| 550 | return 1; |
| 551 | |
| 552 | if (test_hc_cb_count > 10) |
| 553 | return 1; |
| 554 | |
| 555 | return 0; |
| 556 | } |
| 557 | /* |
| 558 | * Test event driven healtchecking. |
| 559 | */ |
nothing calls this directly
no test coverage detected