It looks like for file:// and http:// protocols cat prints different warning messages for non-existing target.
For http:// svn: warning: W160013: '/svn-test-work/repositories/cat_tests-9/!svn/bc/1/non-existing' path not found For file:// svn: warning: W160013: File not found: revision 1, path '/non-existing' Log [[[ For file:// and http:// protocols cat prints different warning messages for non-existing target. * subversion/tests/cmdline/cat_tests.py (cat_non_existing_remote_file): Modify regular expression to handle both http:// and file:// targets. Patch by: Noorul Islam K M <noorul{_AT_}collab.net> ]]] Thanks and Regards Noorul
Index: subversion/tests/cmdline/cat_tests.py =================================================================== --- subversion/tests/cmdline/cat_tests.py (revision 1069209) +++ subversion/tests/cmdline/cat_tests.py (working copy) @@ -238,8 +238,7 @@ sbox.build(create_wc = False) non_existing_path = sbox.repo_url + '/non-existing' - expected_err = "svn: warning: W160013: File not found.*" + \ - non_existing_path.split('/')[1] + expected_err = "svn: warning: W160013: .*not found.*" # cat operation on non-existing remote path should return 1 svntest.actions.run_and_verify_svn2(None, None, expected_err, 1,