Index: subversion/tests/cmdline/authz_tests.py =================================================================== --- subversion/tests/cmdline/authz_tests.py (revision 19603) +++ subversion/tests/cmdline/authz_tests.py (working copy) @@ -409,6 +409,15 @@ '-m', 'logmsg', B_url, D_url) + # lock a file, target is readonly: should fail + svntest.actions.run_and_verify_svn("", + None, expected_err, + 'lock', + '--username', svntest.main.wc_author, + '--password', svntest.main.wc_passwd, + '-m', 'lock msg', + iota_url) + ######################################################################## # Run the tests