You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2018/06/19 11:51:13 UTC

svn commit: r1833824 - /subversion/trunk/subversion/tests/cmdline/externals_tests.py

Author: stsp
Date: Tue Jun 19 11:51:12 2018
New Revision: 1833824

URL: http://svn.apache.org/viewvc?rev=1833824&view=rev
Log:
Stricter verification of update behaviour in update_dir_external_exclude test.

* subversion/tests/cmdline/externals_tests.py
  (update_dir_external_exclude): Verify that externals are fetched into test
   working copy during update operation.

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

Modified: subversion/trunk/subversion/tests/cmdline/externals_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/externals_tests.py?rev=1833824&r1=1833823&r2=1833824&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/externals_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/externals_tests.py Tue Jun 19 11:51:12 2018
@@ -4410,7 +4410,17 @@ def update_dir_external_exclude(sbox):
   # Create an external in r2
   sbox.simple_propset('svn:externals', '^/A/D/H X', 'A/B/E')
   sbox.simple_commit()
-  sbox.simple_update()
+
+  # Update to fetch externals
+  expected_output = svntest.wc.State(sbox.wc_dir, {
+    'A/B/E/X/chi'       : Item(status='A '),
+    'A/B/E/X/omega'     : Item(status='A '),
+    'A/B/E/X/psi'       : Item(status='A '),
+  })
+  svntest.actions.run_and_verify_update(sbox.wc_dir,
+                                        expected_output, None, None,
+                                        [], False,
+                                        sbox.ospath('A/B/E'))
 
   # Now make A/B/E shallow by updating with "--set-depth exclude"
   expected_output = svntest.wc.State(sbox.wc_dir, {