From 23723929dd534f4890a7de27df8280e1dd42f599 Mon Sep 17 00:00:00 2001
From: Vincent Pelletier <vincent@nexedi.com>
Date: Tue, 14 Dec 2010 15:57:08 +0000
Subject: [PATCH] Exit with error status when an exception occurred.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2537 71dcc9de-d417-0410-9af5-da40c76e7ee4
---
 neo/tests/functional/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/neo/tests/functional/__init__.py b/neo/tests/functional/__init__.py
index ba582745..3bbb3935 100644
--- a/neo/tests/functional/__init__.py
+++ b/neo/tests/functional/__init__.py
@@ -82,7 +82,7 @@ class NEOProcess(object):
             # If we reach this line, exec call failed (is it possible to reach
             # it without going through above "except" branch ?).
             print 'Error executing %r.' % (command + ' ' + ' '.join(args), )
-            self._exit()
+            self._exit(-1)
 
     def _exit(self):
 	# KeyboardInterrupt is not intercepted by test runner (it is still
-- 
2.30.9