From 7b4412223a5a4a90b21ba3575e108f23a4343fb2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Fri, 10 Oct 2008 09:26:46 +0000
Subject: [PATCH] return failures as int, not int, because sys.exit('0') will
 exit with return code 1 Thanks fabien !!

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24131 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Type/tests/runFunctionalTest.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5Type/tests/runFunctionalTest.py b/product/ERP5Type/tests/runFunctionalTest.py
index 2122a545d1..ad5023dea0 100755
--- a/product/ERP5Type/tests/runFunctionalTest.py
+++ b/product/ERP5Type/tests/runFunctionalTest.py
@@ -264,7 +264,7 @@ Following tests failed:
     print summary
     print '-' * 79
     print file_content
-  return failures
+  return int(failures)
 
 if __name__ == "__main__":
   parseArgs()
-- 
2.30.9