tests: Convert do-repeat.sh test to use Autotest.