summaryrefslogtreecommitdiff
path: root/tests.branching/setup
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-03-22 17:36:12 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-03-22 17:36:12 +0000
commit16037737eb6bbea91b4cc21e3895efda1f35f3ff (patch)
tree4137c7c078ea14b43ed3ccc525fdcef0184a5aa0 /tests.branching/setup
parent3f4031d1c0237636359e14304484fb569fcecc43 (diff)
downloadmorph-16037737eb6bbea91b4cc21e3895efda1f35f3ff.tar.gz
Implement "morph init" and fix tests accordingly
Diffstat (limited to 'tests.branching/setup')
-rwxr-xr-xtests.branching/setup22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests.branching/setup b/tests.branching/setup
new file mode 100755
index 00000000..cb1c2f4a
--- /dev/null
+++ b/tests.branching/setup
@@ -0,0 +1,22 @@
+#!/bin/sh
+# Copyright (C) 2012 Codethink Limited
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; version 2 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+
+# Set up $DATADIR.
+
+set -eu
+
+mkdir "$DATADIR/mine"