summaryrefslogtreecommitdiff
path: root/tests.branching/init-existing.script
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2012-11-14 16:51:48 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2012-11-14 17:02:58 +0000
commit70564c6457b732e1dd35384971da5df3c5a1665b (patch)
treefec929625b46df3eca62f4f316bef90f6128c51a /tests.branching/init-existing.script
parent4a2b2aa38b85971b72c925eea5ca18767c63cc50 (diff)
downloadmorph-70564c6457b732e1dd35384971da5df3c5a1665b.tar.gz
Tidy up command tests
Be consistent about placement of test description, blank lines, etc.
Diffstat (limited to 'tests.branching/init-existing.script')
-rwxr-xr-xtests.branching/init-existing.script7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests.branching/init-existing.script b/tests.branching/init-existing.script
index e713b9df..506e94bb 100755
--- a/tests.branching/init-existing.script
+++ b/tests.branching/init-existing.script
@@ -1,4 +1,5 @@
#!/bin/sh
+#
# Copyright (C) 2012 Codethink Limited
#
# This program is free software; you can redistribute it and/or modify
@@ -15,10 +16,10 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-set -eu
+## Test that "morph init" works when given the name of an existing,
+## empty directory.
-# Test that "morph init" works when given the name of an existing,
-# empty directory.
+set -eu
"$SRCDIR/scripts/test-morph" init "$DATADIR/workspace"
"$SRCDIR/scripts/list-tree" "$DATADIR/workspace"