Removing SilverStripe tmpdb's

silverstripe

I did miss this little pearl that was supplied from Will Rossiter that I've missed even though I've been working with the SilverStripe for a couple of years now.

#!/bin/bash
./sapphire/sake dev/tests/cleanupdb

This will remove all databases with the naming schema "tmpdb[0-9]+" that been created during test runs but haven't been cleaned up due to fatal errors or pre-mature exiting of the testrun.