summaryrefslogtreecommitdiff
path: root/tests.branching
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2012-09-11 17:25:14 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2012-09-11 17:31:33 +0100
commit8c774d32c9a9debee3780f783f469ca676a0327c (patch)
tree049747a74fc294d7cc5c7977d4bb6171f50c563d /tests.branching
parent1c89026bc70003b302167248c0d2ed229cd27223 (diff)
downloadmorph-8c774d32c9a9debee3780f783f469ca676a0327c.tar.gz
morph merge: Give consistent commit message in chunk repos
Update merge test to check the message.
Diffstat (limited to 'tests.branching')
-rwxr-xr-xtests.branching/merge.script8
-rw-r--r--tests.branching/merge.stdout5
2 files changed, 13 insertions, 0 deletions
diff --git a/tests.branching/merge.script b/tests.branching/merge.script
index 7c433519..d8a28cb3 100755
--- a/tests.branching/merge.script
+++ b/tests.branching/merge.script
@@ -48,3 +48,11 @@ git status --short # make sure all changes are committed
# Make sure all refs to the merged branch have gone.
cd ../baserock:morphs
! grep "\"ref\": \"baserock/newbranch\"" *.morph
+
+echo "Commit message for baserock:morphs"
+git cat-file commit HEAD | tail -n 1
+
+echo
+echo "Commit message for baserock:hello"
+cd ../baserock:hello
+git cat-file commit HEAD | tail -n 1
diff --git a/tests.branching/merge.stdout b/tests.branching/merge.stdout
new file mode 100644
index 00000000..e5127734
--- /dev/null
+++ b/tests.branching/merge.stdout
@@ -0,0 +1,5 @@
+Commit message for baserock:morphs
+Merge system branch 'baserock/newbranch'
+
+Commit message for baserock:hello
+Merge system branch 'baserock/newbranch'