From 8ab49e90229235544a4d173e2790ce4f874f0aef Mon Sep 17 00:00:00 2001 From: Augie Fackler Date: Mon, 11 May 2009 11:35:30 -0700 Subject: [PATCH] tests: Work around a bug in certain git versions on OS X. --- tests/test-file-removal | 4 ++-- tests/test-git-clone | 4 ++-- tests/test-sane-without-bookmarks | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/test-file-removal b/tests/test-file-removal index f53ee41bfa..78614f3653 100755 --- a/tests/test-file-removal +++ b/tests/test-file-removal @@ -50,12 +50,12 @@ git ls-files # 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 diff --git a/tests/test-git-clone b/tests/test-git-clone index f62444810d..db6dfc6ee1 100755 --- a/tests/test-git-clone +++ b/tests/test-git-clone @@ -40,12 +40,12 @@ commit -m 'add beta' # 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 diff --git a/tests/test-sane-without-bookmarks b/tests/test-sane-without-bookmarks index 1bf245cac8..28b5d65d67 100755 --- a/tests/test-sane-without-bookmarks +++ b/tests/test-sane-without-bookmarks @@ -39,12 +39,12 @@ commit -m 'add beta' # 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