Rev 5099: Fix one more failure when the test suite is run as root. in file:///home/vila/src/bzr/bugs/646133-selftest-as-root/
Vincent Ladeuil
v.ladeuil+lp at free.fr
Wed Oct 6 17:24:33 BST 2010
At file:///home/vila/src/bzr/bugs/646133-selftest-as-root/
------------------------------------------------------------
revno: 5099
revision-id: v.ladeuil+lp at free.fr-20101006162433-2lmuxdbn927iuji7
parent: pqm at pqm.ubuntu.com-20100930102226-egza85r6a1pahhb7
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: 646133-selftest-as-root
timestamp: Wed 2010-10-06 18:24:33 +0200
message:
Fix one more failure when the test suite is run as root.
-------------- next part --------------
=== modified file 'NEWS'
--- a/NEWS 2010-09-30 08:49:08 +0000
+++ b/NEWS 2010-10-06 16:24:33 +0000
@@ -23,7 +23,8 @@
needed to succesfully run the test suite for installed versions.
(Vincent Ladeuil, #644855).
-* Skip the tests that requires respecting the chmod bits when running as root.
+* Skip the tests that requires respecting the chmod bits when running as
+ root. Including the one that wasn't present in 2.1.
(Vincent Ladeuil, #646133)
Improvements
=== modified file 'bzrlib/tests/test_transform.py'
--- a/bzrlib/tests/test_transform.py 2010-07-21 10:38:31 +0000
+++ b/bzrlib/tests/test_transform.py 2010-10-06 16:24:33 +0000
@@ -853,6 +853,7 @@
rename.apply()
def test_rename_fails(self):
+ self.requireFeature(features.not_running_as_root)
# see https://bugs.launchpad.net/bzr/+bug/491763
create, root_id = self.get_transform()
first_dir = create.new_directory('first-dir', root_id, 'first-id')
More information about the bazaar-commits
mailing list