Add tests scripts

This commit is contained in:
Quentin Dufour 2019-04-04 09:35:36 +02:00
parent cd4769e30b
commit d6118a214d
2 changed files with 6 additions and 0 deletions

3
scripts/test-client Executable file
View file

@ -0,0 +1,3 @@
#!/bin/bash
mkdir -p ./{log,res}
measlat -h 127.0.0.1 -p 9000 -c $1 -i $2 -s $3 > ./res/naive.csv 2> ./log/client-measlat-stderr.log

3
scripts/test-server Executable file
View file

@ -0,0 +1,3 @@
#!/bin/bash
mkdir -p ./log
udpecho -p 9000 > ./log/server-udpecho-stdout.log 2> ./log/server-udpecho-stderr.log