Merge branch 'master' of https://git.j3d1.de/KKK/KlassischeKeplerKriege
This commit is contained in:
commit
a92d3d2120
1 changed files with 18 additions and 0 deletions
18
test/test.sh
Executable file
18
test/test.sh
Executable 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
|
Loading…
Reference in a new issue