From cdd029f4c06284cc6364a09e423d992fd34262f7 Mon Sep 17 00:00:00 2001 From: /jedi/ Date: Wed, 28 Sep 2016 21:12:41 +0200 Subject: [PATCH] tests --- test/test.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 test/test.sh diff --git a/test/test.sh b/test/test.sh new file mode 100755 index 0000000..24f59c0 --- /dev/null +++ b/test/test.sh @@ -0,0 +1,18 @@ +#!/bin/bash +$1 & +echo running +sleep 1 +function input(){ +sleep 1 +echo n playername +echo 34 +sleep 10 +echo 67 +sleep 10 +echo q +} +ID=$! +sleep 5 +echo connect 3490 +input | nc localhost 3490 +sleep 3