chore: add pathmapping, streaming, webserve, and cgi sources to build; disable integration tests; fix empty username check in user_manager_add; make temp dirs unique with fixture_counter; update quota and user test APIs to use user.id and cast quota_bytes
CI / build-linux (clang) (push) Failing after 18s
CI / build-linux (gcc) (push) Failing after 18s
CI / integration-test (push) Has been skipped
CI / static-analysis (push) Failing after 34s
CI / build-macos (push) Has been cancelled
CI / release (push) Has been cancelled

This commit is contained in:
2025-11-28 06:21:42 +00:00
parent 53a6179ede
commit fe22905359
23 changed files with 133 additions and 268 deletions
+3 -1
View File
@@ -8,8 +8,10 @@
#include <dirent.h>
#include <time.h>
static int fixture_counter = 0;
int fixture_create_temp_dir(char *path, size_t size) {
snprintf(path, size, "/tmp/nwedav_test_%d_%ld", getpid(), (long)time(NULL));
snprintf(path, size, "/tmp/nwedav_test_%d_%ld_%d", getpid(), (long)time(NULL), fixture_counter++);
return mkdir(path, 0755);
}