empserver/src/scripts/nightly/tests/07/01
Ron Koenderink 17f44e8104 Move test scripts from nightlybuild.sh to separate files
The test scripts are now in nightly/tests/TURN/PLAYER.  For each turn,
the update script is executed first (except for turn 00), and then all
the player scripts in the appropriate turn directory.  This runs
runfeed() in different directories; change it to accomodate for that.

The update script runs "report *" on all updates.  Before, it ran only
on some of them.
2008-10-16 20:50:11 -04:00

33 lines
471 B
Bash
Executable file

#!/bin/sh
. "${SCRIPTDIR}"/common.sh
runfeed 1 << EOF
build bridge 5,-1 j
explore c 5,-1 1 jh
mov c 5,-1 76 7,-1
thres c 7,-1 77
dist * 5,-1
des 1,1 m
deliver i 1,1 0 g
thres d 1,1 0
mov d 1,1 1 -1,-1
des -1,1 k
thres h -1,1 1
thres c -1,1 769
des -4:-2,-2 o
thres o -4:-2,-2 1
thres c -4:-2,-2 769
des 1,-3 o
thres o 1,-3 1
thres c 1,-3 769
des 4:8,2 g
thres d 4:8,2 1
thres c 4:8,2 769
thres c * ?c_dist=768 769
bmap #1
radar 11,-1
cen *
ship *
map #
read y
prod *
EOF