]> git.sesse.net Git - stockfish/blobdiff - tests/signature.sh
Fix reported DTZ for mate-in-1-ply positions
[stockfish] / tests / signature.sh
index 2eb52c89be24c5a3e15e27c6faf996e5881b4d93..00fd2dc9800cbdfcc31dc102046f1fa815ede520 100755 (executable)
@@ -17,6 +17,7 @@ if [ $# -gt 0 ]; then
    # compare to given reference
    if [ "$1" != "$signature" ]; then
       echo "signature mismatch: reference $1 obtained $signature"
+      exit 1
    else
       echo "signature OK: $signature"
    fi