(fix) a bit more verbose output

pull/229/merge
Ludovic Marcotte 2018-06-06 10:18:20 -04:00
parent aca2c1b9e8
commit c875012215
1 changed files with 1 additions and 1 deletions

View File

@ -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)