We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent24bc841 commit7bc59abCopy full SHA for 7bc59ab
git/test/lib/helper.py
@@ -165,9 +165,11 @@ def remote_repo_creator(self):
165
exceptGitCommandError,e:
166
printstr(e)
167
ifos.name=='nt':
168
-raiseAssertionError('git-daemon needs to run this test, but windows does not have one. Otherwise, run: git-daemon "%s"'%tempfile.gettempdir())
+raiseAssertionError('git-daemon needs to run this test, but windows does not have one. Otherwise, run: git-daemon "%s"'%os.path.dirname(_mktemp()))
169
else:
170
-raiseAssertionError('Please start a git-daemon to run this test, execute: git-daemon "%s"'%tempfile.gettempdir())
+raiseAssertionError('Please start a git-daemon to run this test, execute: git-daemon "%s"'%os.path.dirname(_mktemp()))
171
+# END make assertion
172
+#END catch ls remote error
173
174
# adjust working dir
175
prev_cwd=os.getcwd()