This commit is contained in:
elvis
2022-04-23 15:05:31 +02:00
parent e5d2c9c5b2
commit 11a5dae9e9
3 changed files with 12 additions and 5 deletions

View File

@ -93,3 +93,12 @@ cleanall : clean
@rm -f $(SOCKET)
print-%: ; @echo $* = $($*)
# -TESTS------------------------------------------------------------------------
test1:
@echo "[threadpool]\n\nquantity = 10\npending = 20\n\n[files]\n\nMaxFiles = 20\n\nMaxSize = 10000000\n\n[log]\n\nlogFile = ./logs/l.log\n\n[socket]\n\nname = ./socket\nbacklog = 100\n" > build/confix.txt
valgrind --leak-check=full ./server &
./scripts/test1.sh
pkill -1 memcheck-amd64

View File

@ -88,8 +88,6 @@ int storeFilesInDirectory(const char *dirname, int n, recivedFile_t *rf);
void freeResponse(response_t *res);
// -----------------------------------------------------------------------------
int openConnection(const char* sockname, int msec, const struct timespec abstime) {
if(!sockname){

0
scripts/.gitkeep Normal file
View File