From: Ian Jackson Date: Sat, 7 Aug 2021 15:07:50 +0000 (+0100) Subject: test: run-* scripts X-Git-Tag: hippotat/1.0.0~292 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=9380dd2b173175dc909b6bc37ebb0857b92350b2;p=hippotat.git test: run-* scripts Signed-off-by: Ian Jackson --- diff --git a/test/run-client b/test/run-client index 9396c4e..fdb1e4e 100755 --- a/test/run-client +++ b/test/run-client @@ -1,3 +1,6 @@ #!/bin/sh set -e +slug=$1 + +ip netns exec hippotat-t-$slug-client \ target/debug/hippotat --config src/test/test.cfg --debug diff --git a/test/run-server b/test/run-server new file mode 100755 index 0000000..8273244 --- /dev/null +++ b/test/run-server @@ -0,0 +1,6 @@ +#!/bin/sh +set -e +slug=$1 + +ip netns exec hippotat-t-$slug-server \ +target/debug/hippotatd --config src/test/test.cfg --debug