| 19 | /* ── Helper: create temp file path ─────────────────────────────── */ |
| 20 | |
| 21 | static int make_temp_db(char *path, size_t pathsz) { |
| 22 | snprintf(path, pathsz, "/tmp/cbm_sw_test_XXXXXX"); |
| 23 | int fd = cbm_mkstemp(path); |
| 24 | if (fd < 0) |
| 25 | return -1; |
| 26 | close(fd); |
| 27 | return 0; |
| 28 | } |
| 29 | |
| 30 | static int assert_node_name(sqlite3 *db, const char *expected) { |
| 31 | sqlite3_stmt *stmt = NULL; |
no test coverage detected