diff options
Diffstat (limited to 'tests/twisted/crash-recovery/crash-recovery.py')
-rw-r--r-- | tests/twisted/crash-recovery/crash-recovery.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/twisted/crash-recovery/crash-recovery.py b/tests/twisted/crash-recovery/crash-recovery.py index e189b850..0446550c 100644 --- a/tests/twisted/crash-recovery/crash-recovery.py +++ b/tests/twisted/crash-recovery/crash-recovery.py @@ -34,6 +34,11 @@ import constants as cs def preseed(): accounts_dir = os.environ['MC_ACCOUNT_DIR'] + try: + os.mkdir(accounts_dir, 0700) + except OSError: + pass + accounts_cfg = open(accounts_dir + '/accounts.cfg', 'w') accounts_cfg.write("""# Telepathy accounts |