This commit is contained in:
j3d1 2016-09-28 21:12:41 +02:00
parent a5ff1bc20d
commit cdd029f4c0

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