| 34 | } diagnostics_paths_t; |
| 35 | |
| 36 | static void diagnostics_wait_ms(unsigned int milliseconds) { |
| 37 | struct timespec delay = { |
| 38 | .tv_sec = (time_t)(milliseconds / 1000U), |
| 39 | .tv_nsec = (long)((milliseconds % 1000U) * 1000000U), |
| 40 | }; |
| 41 | (void)cbm_nanosleep(&delay, NULL); |
| 42 | } |
| 43 | |
| 44 | #ifndef _WIN32 |
| 45 | static bool diagnostics_file_equals(const char *path, const char *expected) { |
no test coverage detected