Rev 5638: Raise KnownFailure on windows for bug #709104. in file:///home/vila/src/bzr/bugs/709104-windows-bash-completion/

Vincent Ladeuil v.ladeuil+lp at free.fr
Fri Jan 28 10:28:35 UTC 2011


At file:///home/vila/src/bzr/bugs/709104-windows-bash-completion/

------------------------------------------------------------
revno: 5638
revision-id: v.ladeuil+lp at free.fr-20110128102835-oztbvk6jf6hklpbw
parent: v.ladeuil+lp at free.fr-20110128102252-ctlo17wcn2ugxn5q
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: 709104-windows-bash-completion
timestamp: Fri 2011-01-28 11:28:35 +0100
message:
  Raise KnownFailure on windows for bug #709104.
-------------- next part --------------
=== modified file 'bzrlib/plugins/bash_completion/tests/test_bashcomp.py'
--- a/bzrlib/plugins/bash_completion/tests/test_bashcomp.py	2011-01-28 10:22:52 +0000
+++ b/bzrlib/plugins/bash_completion/tests/test_bashcomp.py	2011-01-28 10:28:35 +0000
@@ -14,6 +14,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
+import sys
+
 import bzrlib
 from bzrlib import commands, tests
 from bzrlib.tests import features
@@ -152,6 +154,11 @@
     will be replaced by the bzr instance running this selftest.
     """
 
+    def setUp(self):
+        super(TestBashCompletionInvoking, self).setUp()
+        if sys.platform == 'win32':
+            raise tests.KnownFailure(
+                'see bug #709104, completion is broken on windows')
 
     def get_script(self):
         s = super(TestBashCompletionInvoking, self).get_script()



More information about the bazaar-commits mailing list