| 803 | } |
| 804 | |
| 805 | static int ui_delete_make_sidecars(const ui_delete_fixture_t *fx, const char *project) { |
| 806 | char path[1024]; |
| 807 | ui_delete_db_path(fx, project, path, sizeof(path)); |
| 808 | char wal[1040], shm[1040]; |
| 809 | snprintf(wal, sizeof(wal), "%s-wal", path); |
| 810 | snprintf(shm, sizeof(shm), "%s-shm", path); |
| 811 | return th_write_file(wal, "wal") == 0 && th_write_file(shm, "shm") == 0 ? 0 : -1; |
| 812 | } |
| 813 | |
| 814 | static int ui_delete_request(th_server_t *ts, const char *target, char *resp, size_t respsz) { |
| 815 | char req[512]; |
no test coverage detected