You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ph...@apache.org on 2011/04/04 23:08:23 UTC
svn commit: r1088793 -
/subversion/trunk/subversion/tests/cmdline/special_tests.py
Author: philip
Date: Mon Apr 4 21:08:23 2011
New Revision: 1088793
URL: http://svn.apache.org/viewvc?rev=1088793&view=rev
Log:
Make special_tests.py 15 PASS on POSIX.
* subversion/tests/cmdline/special_tests.py
(propvalue_normalized): Make the svn:special file a symlink on POSIX
systems, give it more realistic symlink contents.
Modified:
subversion/trunk/subversion/tests/cmdline/special_tests.py
Modified: subversion/trunk/subversion/tests/cmdline/special_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/special_tests.py?rev=1088793&r1=1088792&r2=1088793&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/special_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/special_tests.py Mon Apr 4 21:08:23 2011
@@ -654,9 +654,12 @@ def propvalue_normalized(sbox):
# Add a "symlink"
iota2_path = sbox.ospath('iota2')
- svntest.main.file_write(iota2_path, "This is the file 'iota2'.\n")
+ svntest.main.file_write(iota2_path, "symlink destination")
svntest.main.run_svn(None, 'add', iota2_path)
svntest.main.run_svn(None, 'propset', 'svn:special', 'yes', iota2_path)
+ if svntest.main.is_posix_os:
+ os.remove(iota2_path)
+ os.symlink("symlink destination", iota2_path)
# Property value should be SVN_PROP_BOOLEAN_TRUE
expected_propval = ['*']