test1
This commit is contained in:
9
Makefile
9
Makefile
@ -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
|
||||
|
||||
@ -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
0
scripts/.gitkeep
Normal file
Reference in New Issue
Block a user