fix cyrus tests

This commit is contained in:
Kenneth Giusti 2015-09-16 16:02:04 -04:00
parent 67f78f9e7e
commit 5cdfaca988
1 changed files with 1 additions and 1 deletions

View File

@ -830,7 +830,7 @@ class CyrusTest(common.Test):
_t = "echo trustno1 | saslpasswd2 -c -p -f ${db} -u pyngus user"
cmd = Template(_t).substitute(db=db)
try:
subprocess.call(args=cmd, shell=True)
subprocess.check_call(args=cmd, shell=True)
except:
shutil.rmtree(self._conf_dir, ignore_errors=True)
self._conf_dir = None