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
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:
Vendored
+3
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user