From c98447ba9e4b9242c65f815429d311c2f215533a Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 14 Dec 2014 07:01:22 +0100 Subject: [PATCH] check for lockfile before running --- s/preview | 1 + 1 file changed, 1 insertion(+) diff --git a/s/preview b/s/preview index 369c7557c..3e5180bfb 100755 --- a/s/preview +++ b/s/preview @@ -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