(fix) a bit more verbose output

This commit is contained in:
Ludovic Marcotte
2018-06-06 10:18:20 -04:00
parent aca2c1b9e8
commit c875012215
+1 -1
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)