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

Re: [PATCH] commit_tests

From: HuiHuang <yellow.flying_at_yahoo.com.cn>
Date: Sat, 13 Jun 2009 13:54:25 +0800

Hey Stefan,
>So instead of adding a new test, we can change the commit_multiple_wc
>test to expect the commit to succeed instead of fail, and mark the
>test XFail. Can you make a patch for that?

Do you mean that I make a patch like this?

Index: commit_tests.py
===================================================================
--- commit_tests.py (版本 38022)
+++ commit_tests.py (工作副本)
@@ -1393,6 +1393,7 @@
   # Verify status unchanged
   svntest.actions.run_and_verify_status(wc_dir, expected_status)
   svntest.actions.run_and_verify_status(wc2_dir, expected_status2)
+ raise svntest.Failure
 
 
 def commit_nonrecursive(sbox):
@@ -2696,7 +2697,7 @@
               commit_from_long_dir,
               commit_with_lock,
               commit_current_dir,
- commit_multiple_wc,
+ XFail(commit_multiple_wc),
               commit_nonrecursive,
               failed_commit,
               commit_out_of_date_deletions,

Huihuang
------------------
yellow.flying
2009-06-13

-------------------------------------------------------------
��i��'�ē扫h∈&

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2361773
Received on 2009-06-13 07:54:57 CEST

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.