update-manpages: clean up symlink in checkout
We don't want symlinks in the git tree as it causes pain for Windows users. We also don't really need it as we can refactor the code we want to import slightly. Change-Id: I4537c07c50ee9449e9f53e0f132a386e8ffe16ec Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/354356 Tested-by: Mike Frysinger <vapier@google.com> Reviewed-by: LaMont Jones <lamontjones@google.com>
This commit is contained in:
parent
d98f393524
commit
e0728a5ecd
4 changed files with 124 additions and 104 deletions
|
@ -15,7 +15,8 @@
|
|||
"""Unittests for the update_manpages module."""
|
||||
|
||||
import unittest
|
||||
import tests.update_manpages as um
|
||||
|
||||
from release import update_manpages
|
||||
|
||||
|
||||
class UpdateManpagesTest(unittest.TestCase):
|
||||
|
@ -24,4 +25,4 @@ class UpdateManpagesTest(unittest.TestCase):
|
|||
def test_replace_regex(self):
|
||||
"""Check that replace_regex works."""
|
||||
data = '\n\033[1mSummary\033[m\n'
|
||||
self.assertEqual(um.replace_regex(data),'\nSummary\n')
|
||||
self.assertEqual(update_manpages.replace_regex(data),'\nSummary\n')
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
../release/update-manpages
|
Loading…
Add table
Add a link
Reference in a new issue