[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] New XFail test for issue 3826

From: Noorul Islam K M <noorul_at_collab.net>
Date: Wed, 02 Mar 2011 09:33:54 +0530

Attached is a new XFail test for issue 3826.

Log
[[[

New XFail test for issue 3826.

* subversion/tests/cmdline/diff_tests.py
  (diff_abs_localpath_from_wc_folder): New XFail test.
  (test_list): Run it.

Patch by: Noorul Islam K M <noorul{_AT_}collab.net>
Found by: danielsh
]]]

Index: subversion/tests/cmdline/diff_tests.py
===================================================================
--- subversion/tests/cmdline/diff_tests.py (revision 1074971)
+++ subversion/tests/cmdline/diff_tests.py (working copy)
@@ -3760,6 +3760,22 @@
   svntest.actions.run_and_verify_svn(None, expected_output, [], 'diff',
                                      '-c2', '--git')
   os.chdir(was_cwd)
+
+@XFail()
+@Issue(3826)
+def diff_abs_localpath_from_wc_folder(sbox):
+ "diff absolute localpath from wc folder"
+ sbox.build(read_only = True)
+ wc_dir = sbox.wc_dir
+
+ a_path = os.path.join(wc_dir, 'A')
+ b_path = os.path.join(wc_dir, 'A', 'B')
+ was_cwd = os.getcwd()
+ os.chdir(os.path.abspath(a_path))
+ svntest.actions.run_and_verify_svn(None, None, [], 'diff',
+ os.path.abspath(b_path))
+ os.chdir(was_cwd)
+
 ########################################################################
 #Run the tests
 
@@ -3824,6 +3840,7 @@
               diff_git_empty_files,
               diff_git_with_props,
               diff_git_with_props_on_dir,
+ diff_abs_localpath_from_wc_folder,
               ]
 
 if __name__ == '__main__':
Received on 2011-03-02 05:05:03 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.