Combien de fois peut-on passer le permis?

How many times can you pass your driving test?