From d6118a214d1b2ae630487b5c140238fbecbba5d3 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Thu, 4 Apr 2019 09:35:36 +0200 Subject: [PATCH] Add tests scripts --- scripts/test-client | 3 +++ scripts/test-server | 3 +++ 2 files changed, 6 insertions(+) create mode 100755 scripts/test-client create mode 100755 scripts/test-server diff --git a/scripts/test-client b/scripts/test-client new file mode 100755 index 0000000..5a7b152 --- /dev/null +++ b/scripts/test-client @@ -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 diff --git a/scripts/test-server b/scripts/test-server new file mode 100755 index 0000000..23a8b99 --- /dev/null +++ b/scripts/test-server @@ -0,0 +1,3 @@ +#!/bin/bash +mkdir -p ./log +udpecho -p 9000 > ./log/server-udpecho-stdout.log 2> ./log/server-udpecho-stderr.log