#!/bin/bash
for i in {1..100}
do
    echo "Iteration $i..."
    php admin/tool/behat/cli/run.php --name 'Time limit expires'
    echo " "
    if [ $? -neq 0 ]; then
        echo "FAILURE ENCOUNTERED!"
        break
    fi
done
