You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ph...@apache.org on 2011/04/05 01:34:39 UTC
svn commit: r1088822 -
/subversion/trunk/subversion/tests/cmdline/revert_tests.py
Author: philip
Date: Mon Apr 4 23:34:39 2011
New Revision: 1088822
URL: http://svn.apache.org/viewvc?rev=1088822&view=rev
Log:
* subversion/tests/cmdline/revert_tests.py
(revert_permissions_only): Use is_posix_os as a function instead of a lamda.
Modified:
subversion/trunk/subversion/tests/cmdline/revert_tests.py
Modified: subversion/trunk/subversion/tests/cmdline/revert_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/revert_tests.py?rev=1088822&r1=1088821&r2=1088822&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/revert_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/revert_tests.py Mon Apr 4 23:34:39 2011
@@ -1133,7 +1133,7 @@ def revert_permissions_only(sbox):
'revert', sbox.ospath('A/B/E/alpha'))
is_writable(sbox.ospath('A/B/E/alpha'))
- if svntest.main.is_posix_os:
+ if svntest.main.is_posix_os():
os.chmod(sbox.ospath('A/B/E/beta'), 0777); # executable
is_executable(sbox.ospath('A/B/E/beta'))
expected_output = ["Reverted '%s'\n" % sbox.ospath('A/B/E/beta')]
@@ -1167,7 +1167,7 @@ def revert_permissions_only(sbox):
'revert', sbox.ospath('A/B/E/alpha'))
is_readonly(sbox.ospath('A/B/E/alpha'))
- if svntest.main.is_posix_os:
+ if svntest.main.is_posix_os():
os.chmod(sbox.ospath('A/B/E/beta'), 0666); # not executable
is_non_executable(sbox.ospath('A/B/E/beta'))
expected_output = ["Reverted '%s'\n" % sbox.ospath('A/B/E/beta')]