view contrib/vagrant/provision.sh @ 31006:d4916aebf3d0

runtests: export LOCALIP Previously, tests hard-code local IP address as "127.0.0.1". That won't work for IPv6. This patch exports the $LOCALIP environment variable, which is set to "::1" if we decide to use IPv6.
author Jun Wu <quark@fb.com>
date Thu, 16 Feb 2017 08:01:19 -0800
parents 8da01b6e7b49
children
line wrap: on
line source

#!/bin/sh
# This scripts is used to install dependencies for
# testing Mercurial. Mainly used by Vagrant (see
# Vagrantfile for details).

export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get install -y -q python-dev unzip
# run-tests.sh is added by Vagrantfile
chmod +x run-tests.sh