From 9049d3091c9aec0642388514ef5a3a01bfdde9b4 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 22 Mar 2012 19:09:41 +0000 Subject: Create a morph config file in the test setup script --- tests.branching/setup | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'tests.branching/setup') diff --git a/tests.branching/setup b/tests.branching/setup index 61f966e2..791e0337 100755 --- a/tests.branching/setup +++ b/tests.branching/setup @@ -17,6 +17,7 @@ # Set up $DATADIR. # +# - a morph.conf configuration file # - an empty morph mine directory # - a git repository called "morphs" for fake system, stratum morphologies # - a git repository calle "hello" for a dummy chunk @@ -24,6 +25,17 @@ set -eu +# Create a morph configuration file +cat < "$DATADIR/morph.conf" +[config] +git-base-url = file://$DATADIR/ +cachedir = $DATADIR/mine/.morph/cache +log = $DATADIR/morph.log +keep-path = true +no-distcc = true +EOF + + # Create an empty directory to be used as a morph mine mkdir "$DATADIR/mine" -- cgit v1.2.1