subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmpil...@apache.org
Subject svn commit: r1403691 - /subversion/trunk/subversion/tests/cmdline/update_tests.py
Date Tue, 30 Oct 2012 13:37:51 GMT
Author: cmpilato
Date: Tue Oct 30 13:37:50 2012
New Revision: 1403691

URL: http://svn.apache.org/viewvc?rev=1403691&view=rev
Log:
* subversion/tests/cmdline/update_tests.py
  (update_to_HEAD_plus_1): Tweak expected error message regexp to
    reveal check the human readable bit of the error string, too.

Suggested by: rhuijben

Modified:
    subversion/trunk/subversion/tests/cmdline/update_tests.py

Modified: subversion/trunk/subversion/tests/cmdline/update_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/update_tests.py?rev=1403691&r1=1403690&r2=1403691&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/update_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/update_tests.py Tue Oct 30 13:37:50 2012
@@ -5514,9 +5514,12 @@ def update_to_HEAD_plus_1(sbox):
   sbox.build(read_only = True)
   wc_dir = sbox.wc_dir
 
+  # Attempt the update, expecting an error.  (Sometimes the error
+  # strings says "No such revision", sometimes "No such target
+  # revision".)
   svntest.actions.run_and_verify_update(wc_dir,
                                         None, None, None,
-                                        ".*E160006",
+                                        "E160006.*No such.*revision",
                                         None, None,
                                         None, None, None, wc_dir, '-r', '2')
 



Mime
View raw message