]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
test_cli: disable generate-keypair test on OS-X, pycryptopp still has a bug
authorBrian Warner <warner@lothar.com>
Fri, 19 Sep 2008 19:38:55 +0000 (12:38 -0700)
committerBrian Warner <warner@lothar.com>
Fri, 19 Sep 2008 19:38:55 +0000 (12:38 -0700)
src/allmydata/test/test_cli.py

index f6f20f73173beccde7e97e59df15ac88d7d99ae0..21e1ea7d5848dd9d74d68fb9730e7547879c2b71 100644 (file)
@@ -515,6 +515,11 @@ class Admin(unittest.TestCase):
         return d
 
     def test_generate_keypair(self):
+        import sys
+        if sys.platform == "darwin":
+            # pycryptopp-0.5.7's ECDSA is broken on OS-X, it raises a C++
+            # exception, which halts the whole process. So skip this test.
+            raise unittest.SkipTest("pycryptopp-0.5.7's ECDSA raises a C++ exception on OS-X")
         d = self.do_cli("admin", "generate-keypair")
         def _done( (stdout, stderr) ):
             lines = stdout.split("\n")