forked from github/server
check for lockfile before running
This commit is contained in:
parent
65b48a7996
commit
3ac407407a
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ function run() {
|
|||
echo "testing turn $turn of game $game"
|
||||
assert_dir $TESTROOT
|
||||
cd $TESTROOT
|
||||
[ ! -e execute.lock ] || abort "lockfile prevents running game $game"
|
||||
[ -d data ] || mkdir data
|
||||
assert_dir data
|
||||
assert_files $LIVE/orders.$turn $LIVE/data/$turn.dat
|
||||
|
|
Loading…
Reference in a new issue