This commit is contained in:
Andreas Ortmann 2016-09-28 21:26:48 +02:00
commit a92d3d2120

18
test/test.sh Executable file
View file

@ -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