contrib/vagrant/run-tests.sh
author Pierre-Yves David <pierre-yves.david@octobus.net>
Fri, 16 Apr 2021 00:16:43 +0200
changeset 47287 9cc9b4a25248
parent 21874 8da01b6e7b49
permissions -rw-r--r--
urlutil: provide some information about "bad url" when processing `pushurl` It appears pushurl only support `<proto>://` entries. This is not obvious and can lead to obscure error. We make the error less obscure as a start.. Differential Revision: https://phab.mercurial-scm.org/D10455

#!/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