changeset 117:93980820bba1

tests: Work around a bug in certain git versions on OS X.
author Augie Fackler <durin42@gmail.com>
date Mon, 11 May 2009 11:35:30 -0700
parents 7d9741417807
children b3be536e3f50
files tests/test-file-removal tests/test-git-clone tests/test-sane-without-bookmarks
diffstat 3 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-file-removal	Mon May 11 11:06:03 2009 -0700
+++ b/tests/test-file-removal	Mon May 11 11:35:30 2009 -0700
@@ -50,12 +50,12 @@
 # dulwich does not presently support local git repos, workaround
 cd ..
 git daemon --base-path="$(pwd)"\
- --listen=127.0.0.1\
+ --listen=localhost\
  --export-all\
   --pid-file=gitdaemon.pid \
  --detach --reuseaddr
 
-hg gclone git://127.0.0.1/gitrepo hgrepo
+hg gclone git://localhost/gitrepo hgrepo
 cd hgrepo
 hg log --graph
 
--- a/tests/test-git-clone	Mon May 11 11:06:03 2009 -0700
+++ b/tests/test-git-clone	Mon May 11 11:35:30 2009 -0700
@@ -40,12 +40,12 @@
 # dulwich does not presently support local git repos, workaround
 cd ..
 git daemon --base-path="$(pwd)"\
- --listen=127.0.0.1\
+ --listen=localhost\
  --export-all\
   --pid-file=gitdaemon.pid \
  --detach --reuseaddr
 
-hg gclone git://127.0.0.1/gitrepo hgrepo
+hg gclone git://localhost/gitrepo hgrepo
 cd hgrepo
 hg log --graph
 
--- a/tests/test-sane-without-bookmarks	Mon May 11 11:06:03 2009 -0700
+++ b/tests/test-sane-without-bookmarks	Mon May 11 11:35:30 2009 -0700
@@ -39,12 +39,12 @@
 # dulwich does not presently support local git repos, workaround
 cd ..
 git daemon --base-path="$(pwd)"\
- --listen=127.0.0.1\
+ --listen=localhost\
  --export-all\
   --pid-file=gitdaemon.pid \
  --detach --reuseaddr
 
-hg gclone git://127.0.0.1/gitrepo hgrepo
+hg gclone git://localhost/gitrepo hgrepo
 cd hgrepo
 hg log --graph