[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha4-150-g9c220c0

Jelmer Vernooij jelmer at samba.org
Sat Jun 28 13:27:25 GMT 2008


The branch, v4-0-test has been updated
       via  9c220c0dce31fbe4b2f6433f40a52162d21c03f7 (commit)
      from  6479f481dbf2f5c83edec0702ece73e83b6c810e (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test


- Log -----------------------------------------------------------------
commit 9c220c0dce31fbe4b2f6433f40a52162d21c03f7
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Sat Jun 28 15:26:46 2008 +0200

    Non-zero exit code on failure.

-----------------------------------------------------------------------

Summary of changes:
 source/lib/ldb/tests/python/ldap.py |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/lib/ldb/tests/python/ldap.py b/source/lib/ldb/tests/python/ldap.py
index aba9581..9d334c5 100755
--- a/source/lib/ldb/tests/python/ldap.py
+++ b/source/lib/ldb/tests/python/ldap.py
@@ -965,7 +965,6 @@ class BaseDnTests(unittest.TestCase):
                 attrs=["netlogon", "highestCommittedUSN"])
         self.assertEquals(len(res), 0)
 
-
 if not "://" in host:
     host = "ldap://%s" % host
 
@@ -974,5 +973,9 @@ gc_ldb = Ldb("%s:3268" % host, credentials=creds,
              session_info=system_session(), lp=lp)
 
 runner = SubunitTestRunner()
-runner.run(unittest.makeSuite(BaseDnTests))
-runner.run(unittest.makeSuite(BasicTests))
+rc = 0
+if not runner.run(unittest.makeSuite(BaseDnTests)).wasSuccessful():
+    rc = 1
+if not runner.run(unittest.makeSuite(BasicTests)).wasSuccessful():
+    rc = 1
+sys.exit(rc)


-- 
Samba Shared Repository


More information about the samba-cvs mailing list