summaryrefslogtreecommitdiff
path: root/tests.branching/workspace.script
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2012-08-30 18:45:42 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2012-08-30 18:45:42 +0100
commitdfd41a201e9d7efd3e98653e94c11434302fe7a4 (patch)
tree3d9d5a43ecc06d42fc627ccab9a44a80d4aac4f3 /tests.branching/workspace.script
parent87799ed3bdee1128c59ae7216575a10cef595425 (diff)
downloadmorph-dfd41a201e9d7efd3e98653e94c11434302fe7a4.tar.gz
Rename 'minedir' to 'workspace' in tests
Diffstat (limited to 'tests.branching/workspace.script')
-rwxr-xr-xtests.branching/workspace.script20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests.branching/workspace.script b/tests.branching/workspace.script
new file mode 100755
index 00000000..f872a37d
--- /dev/null
+++ b/tests.branching/workspace.script
@@ -0,0 +1,20 @@
+#!/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.
+
+scripts/test-morph init "$DATADIR/workspace"
+mkdir -p "$DATADIR/workspace/a/b/c"
+cd "$DATADIR/workspace/a/b/c"
+"$SRCDIR/scripts/test-morph" workspace