Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1763)

Unified Diff: tests/patch_test.py

Issue 10967071: Fix applying svn:executable on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « patch.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/patch_test.py
diff --git a/tests/patch_test.py b/tests/patch_test.py
index 5a442d07fecc47096ee06ee6b436f60829b6ffa3..e932abb2983f2f4abea3b194a4feb8d2763ac04e 100755
--- a/tests/patch_test.py
+++ b/tests/patch_test.py
@@ -82,13 +82,13 @@ class PatchTest(unittest.TestCase):
p = patch.FilePatchDiff('git_cl/git-cl', GIT.MODE_EXE, [])
self._check_patch(
p, 'git_cl/git-cl', GIT.MODE_EXE, is_git_diff=True, patchlevel=1,
- svn_properties=[('svn:executable', '*')], nb_hunks=0)
+ svn_properties=[('svn:executable', '.')], nb_hunks=0)
def testFilePatchDiffHeaderModeIndex(self):
p = patch.FilePatchDiff('git_cl/git-cl', GIT.MODE_EXE_JUNK, [])
self._check_patch(
p, 'git_cl/git-cl', GIT.MODE_EXE_JUNK, is_git_diff=True, patchlevel=1,
- svn_properties=[('svn:executable', '*')], nb_hunks=0)
+ svn_properties=[('svn:executable', '.')], nb_hunks=0)
def testFilePatchDiffHeaderNotExecutable(self):
p = patch.FilePatchDiff(
@@ -332,7 +332,7 @@ class PatchTest(unittest.TestCase):
is_new=True,
is_git_diff=True,
patchlevel=1,
- svn_properties=[('svn:executable', '*')],
+ svn_properties=[('svn:executable', '.')],
nb_hunks=1)
def testGitNewMode(self):
« no previous file with comments | « patch.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698