4teamwork/ftw-buildouts — pull request #17 by lukasgraf (2014-11-04 11:25:38+00:00)
Title: Fix race-condition when creating test_directory in test-base.cfg.

When running tests in parallel with `bin/mtest`, the line

```
if not os.path.exists(test_directory): os.makedirs(test_directory)
```
causes a race condition if the directory has already been created by another worker. Using `try...except` instead avoids this race condition.

@deiferni

/cc @jone