diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-03-22 19:09:41 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-03-22 19:09:41 +0000 |
commit | 9049d3091c9aec0642388514ef5a3a01bfdde9b4 (patch) | |
tree | 3a1f0a1957b83319917f822ef706c223b29de30b | |
parent | 988a23bc269eb181b26ee8ad9a2bfb8c534e5c72 (diff) | |
download | morph-9049d3091c9aec0642388514ef5a3a01bfdde9b4.tar.gz |
Create a morph config file in the test setup script
-rwxr-xr-x | tests.branching/setup | 12 |
1 files changed, 12 insertions, 0 deletions
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 <<EOF > "$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" |