subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bre...@apache.org
Subject svn commit: r1567848 - /subversion/trunk/subversion/tests/cmdline/autoprop_tests.py
Date Thu, 13 Feb 2014 05:01:39 GMT
Author: breser
Date: Thu Feb 13 05:01:39 2014
New Revision: 1567848

URL: http://svn.apache.org/r1567848
Log:
Follow up on r1567819, use absolute paths so that autoprop_tests.py 28 passes

* subversion/tests/cmdline/autoprop_tests.py
  (autoprops_test, inheritable_autoprops_test,
   svn_prop_inheritable_autoprops_add_versioned_target): Use absolute paths for
    the tmp_dir so that config_dir can still be found even if we have changed
    working directories as we do in test 28.

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

Modified: subversion/trunk/subversion/tests/cmdline/autoprop_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/autoprop_tests.py?rev=1567848&r1=1567847&r2=1567848&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/autoprop_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/autoprop_tests.py Thu Feb 13 05:01:39 2014
@@ -102,7 +102,7 @@ def autoprops_test(sbox, cmd, cfgenable,
 
   # some directories
   wc_dir = sbox.wc_dir
-  tmp_dir = sbox.add_wc_path('autoprops')
+  tmp_dir = os.path.abspath(sbox.add_wc_path('autoprops'))
   config_dir = os.path.join(tmp_dir, 'autoprops_config_' + sbox.name)
   repos_url = sbox.repo_url
 
@@ -415,7 +415,7 @@ def inheritable_autoprops_test(sbox, cmd
 
   # some directories
   wc_dir = sbox.wc_dir
-  tmp_dir = sbox.add_wc_path('iautoprops')
+  tmp_dir = os.path.abspath(sbox.add_wc_path('iautoprops'))
   config_dir = os.path.join(tmp_dir, 'autoprops_config_' + sbox.name)
   repos_url = sbox.repo_url
 
@@ -646,7 +646,7 @@ def svn_prop_inheritable_autoprops_add_v
   #
   # Then revert the previous additions and add again, only the
   # svn:auto-props should be applied.
-  tmp_dir = sbox.add_wc_path('temp')
+  tmp_dir = os.path.abspath(sbox.add_wc_path('temp'))
   config_dir = os.path.join(tmp_dir,
                             'autoprops_config_disabled_' + sbox.name)
   create_inherited_autoprops_config(config_dir, False)



Mime
View raw message