]> git.sesse.net Git - stockfish/blobdiff - tests/perft.sh
Restore perft
[stockfish] / tests / perft.sh
index f3d5b88bf27ed95580fc7eacc5f241a95544edcd..d4022211607a8617e3ddb6afe5da2c1a73088be2 100755 (executable)
@@ -14,8 +14,8 @@ cat << EOF > perft.exp
    set timeout 10
    lassign \$argv pos depth result
    spawn ./stockfish
-   send "position \$pos\\n perft \$depth\\n"
-   expect "Nodes searched  ? \$result" {} timeout {exit 1}
+   send "position \$pos\\ngo perft \$depth\\n"
+   expect "Nodes searched? \$result" {} timeout {exit 1}
    send "quit\\n"
    expect eof
 EOF