| 878 | } |
| 879 | |
| 880 | int |
| 881 | cmd_check_internal(char * /* cmd ATS_UNUSED */, bool fix = false) |
| 882 | { |
| 883 | const char *n = fix ? "REPAIR" : "CHECK"; |
| 884 | |
| 885 | printf("%s\n\n", n); |
| 886 | |
| 887 | cacheProcessor.afterInitCallbackSet(&CB_cmd_cache_check); |
| 888 | if (cacheProcessor.start_internal(PROCESSOR_CHECK) < 0) { |
| 889 | printf("\nbad cache configuration, %s failed\n", n); |
| 890 | return CMD_FAILED; |
| 891 | } |
| 892 | return CMD_IN_PROGRESS; |
| 893 | } |
| 894 | |
| 895 | int |
| 896 | cmd_check(char *cmd) |
no test coverage detected