subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1742829 - /subversion/trunk/subversion/tests/cmdline/lock_tests.py
Date Sun, 08 May 2016 14:47:09 GMT
Author: stefan2
Date: Sun May  8 14:47:08 2016
New Revision: 1742829

URL: http://svn.apache.org/viewvc?rev=1742829&view=rev
Log:
Follow-up to r1742826:  One more instance to fix.

* subversion/tests/cmdline/lock_tests.py
  (lock_twice_in_one_wc): Replace octals in permissions with a combination
                          of symbolic constants.

Modified:
    subversion/trunk/subversion/tests/cmdline/lock_tests.py

Modified: subversion/trunk/subversion/tests/cmdline/lock_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/lock_tests.py?rev=1742829&r1=1742828&r2=1742829&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/lock_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/lock_tests.py Sun May  8 14:47:08 2016
@@ -1422,7 +1422,7 @@ def lock_twice_in_one_wc(sbox):
                                      'lock', '-m', '', mu2_path)
 
   # Change the file anyway
-  os.chmod(mu2_path, 0700)
+  os.chmod(mu2_path, stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR)
   svntest.main.file_append(mu2_path, "Updated text")
 
   # Commit will just succeed as the DB owns the lock. It's a user decision



Mime
View raw message