mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-23 10:54:17 +00:00
(fix) a bit more verbose output
This commit is contained in:
@@ -34,7 +34,7 @@ class sogoToolTest(unittest.TestCase):
|
||||
os.chown(self.backupdir, uid, gid)
|
||||
status = os.system("sudo -u %s bash -c \"(cd %s && %s backup . ALL >/dev/null 2>&1)\""
|
||||
% (sogo_user, self.backupdir, sogo_tool_path))
|
||||
|
||||
print "Exit status of os.system(): %d" % status
|
||||
rc=os.WEXITSTATUS(status)
|
||||
self.assertEqual(rc, 0, "sogo-tool failed RC=%d" % rc)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user