Ping. I have not noticed this submission being committed, nor have I noticed any further comments in well over a week.
Gavin "Beau" Baumanis On 11/11/2010, at 9:15 PM, Julian Foad wrote: > On Thu, 2010-11-11, Noorul Islam K M wrote: >> New test case for issue 3713 >> svn cat for non-existing file returns incorrect exit-status. >> >> * subversion/tests/cmdline/cat_tests.py >> (cat_non_existing_path): New test >> (test_list): New XFail test > > Thanks, Noorul. Although the issue mentions one specific example of a > non-existing file, it would be good to check some other common > possibilities at the same time. Would you mind extending the test (or > tests) to also check any other cases you can think of, but at least a > target that is a directory and URLs as well as local paths? > > Thanks. > - Julian > > >> +def cat_non_existing_path(sbox): >> + """cat non exising path""" >> + sbox.build(create_wc = False) >> + wc_dir = sbox.wc_dir >> + non_existing_path = os.path.join(wc_dir, 'non-existing') >> + >> + expected_err = "svn: warning: '.*" + non_existing_path + "'" + \ >> + " is not under version control\n" >> >> + # cat operation on non-existing path should return 1 >> + svntest.actions.run_and_verify_svn2(None, None, expected_err, 1, >> + 'cat', non_existing_path) > > >