Skip to content

Commit 53c1528

Browse files
committed
hidden win_errors: mark also git-daemon errors failing
1 parent 3eacf90 commit 53c1528

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

git/test/test_base.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,17 @@ def test_with_rw_repo(self, rw_repo):
110110
assert not rw_repo.config_reader("repository").getboolean("core", "bare")
111111
assert os.path.isdir(os.path.join(rw_repo.working_tree_dir, 'lib'))
112112

113+
# @skipIf(HIDE_WINDOWS_KNOWN_ERRORS, """
114+
# FIXME: helper.wrapper fails with:
115+
# PermissionError: [WinError 5] Access is denied:
116+
# 'C:\\Users\\appveyor\\AppData\\Local\\Temp\\1\\test_work_tree_unsupportedryfa60di\\
117+
# master_repo\\.git\\objects\\pack\\pack-bc9e0787aef9f69e1591ef38ea0a6f566ec66fe3.idx'
118+
# AND
119+
# FIXME: git-daemon failing with:
120+
# git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
121+
# cmdline: git ls-remote daemon_origin
122+
# stderr: 'fatal: bad config line 15 in file .git/config'
123+
# """)
113124
@with_rw_and_rw_remote_repo('0.1.6')
114125
def test_with_rw_remote_and_rw_repo(self, rw_repo, rw_remote_repo):
115126
assert not rw_repo.config_reader("repository").getboolean("core", "bare")

git/test/test_remote.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,12 @@ def _assert_push_and_pull(self, remote, rw_repo, remote_repo):
384384
TagReference.delete(rw_repo, new_tag, other_tag)
385385
remote.push(":%s" % other_tag.path)
386386

387+
# @skipIf(HIDE_WINDOWS_KNOWN_ERRORS, """
388+
# FIXME: git-daemon failing with:
389+
# git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
390+
# cmdline: git ls-remote daemon_origin
391+
# stderr: 'fatal: bad config line 15 in file .git/config'
392+
# """)
387393
@with_rw_and_rw_remote_repo('0.1.6')
388394
def test_base(self, rw_repo, remote_repo):
389395
num_remotes = 0

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy