contrib/vagrant/run-tests.sh
author Augie Fackler <raf@durin42.com>
Tue, 09 Sep 2014 17:16:24 -0400
changeset 22380 82b2ba904e3e
parent 21874 8da01b6e7b49
permissions -rw-r--r--
clone: provide sample username = config entry in .hg/hgrc (issue4359) Some users clone from a server before ever running 'hg config --edit', so they don't see our helpful template for things like enabling the username. Attempt to give them some helpful guidance.

#!/bin/sh
# This scripts is used to setup temp directory in memory
# for running Mercurial tests in vritual machine managed
# by Vagrant (see Vagrantfile for details).

cd /hgshared
make local
cd tests
mkdir /tmp/ram
sudo mount -t tmpfs -o size=100M tmpfs /tmp/ram
export TMPDIR=/tmp/ram
./run-tests.py -l --time