diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2013-07-18 14:48:37 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2013-07-18 14:48:37 +0000 |
commit | 8cb0e9879a51c1f12b8ab8d9dcb076cd145e7375 (patch) | |
tree | 4313a0c8fcb93e154e91f3b6e23d9757ce6e923d /tests/update-gits-stratum.script | |
parent | 1e6726f484da512871520e47d45afec13de6ce03 (diff) | |
download | morph-8cb0e9879a51c1f12b8ab8d9dcb076cd145e7375.tar.gz |
Use 127.0.0.1 instead of localhost
We do not currently install an /etc/hosts in Baserock, and thus the name
localhost is not guaranteed to resolve as expected. This patch changes
the tests to use 127.0.0.1 instead, since that is the IP address we want
localhost to resolve to.
Diffstat (limited to 'tests/update-gits-stratum.script')
-rwxr-xr-x | tests/update-gits-stratum.script | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/update-gits-stratum.script b/tests/update-gits-stratum.script index 112a8973..6ad95cd9 100755 --- a/tests/update-gits-stratum.script +++ b/tests/update-gits-stratum.script @@ -25,7 +25,7 @@ set -eu git daemon --port=9419 --pid-file="$DATADIR/git.pid" --reuseaddr \ --export-all --base-path="$DATADIR" 2> /dev/null & trap 'kill $(cat "$DATADIR/git.pid")' INT TERM ERR -REPO_ALIAS='test=git://localhost:9419/%s#git://localhost:9419/%s' +REPO_ALIAS='test=git://127.0.0.1:9419/%s#git://127.0.0.1:9419/%s' # Create an empty commit in a chunk repository cd "$DATADIR/chunk-repo" |