summaryrefslogtreecommitdiff
path: root/tests.branching
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2013-07-03 13:36:48 +0000
committerJonathan Maw <jonathan.maw@codethink.co.uk>2013-07-03 17:11:35 +0100
commit5391f5aaec3d9bb6ce204f37117dd28630b439b7 (patch)
tree594f7c4cf8daf3019a38fbc9340d5b0402574821 /tests.branching
parent1c78a3c2dfb95ca2cfbf3d5d00504835564022ff (diff)
downloadmorph-5391f5aaec3d9bb6ce204f37117dd28630b439b7.tar.gz
Fix test case for petrify
Diffstat (limited to 'tests.branching')
-rwxr-xr-xtests.branching/petrify.script2
-rw-r--r--tests.branching/petrify.stdout5
2 files changed, 5 insertions, 2 deletions
diff --git a/tests.branching/petrify.script b/tests.branching/petrify.script
index 76c906c3..fed8e965 100755
--- a/tests.branching/petrify.script
+++ b/tests.branching/petrify.script
@@ -28,7 +28,9 @@ cd "$DATADIR/workspace"
"$SRCDIR/scripts/test-morph" branch test:morphs test/petrify master
cd test/petrify/test:morphs
+git push --quiet origin HEAD
"$SRCDIR/scripts/test-morph" edit hello-system hello-stratum goodbye
+(cd ../test:goodbye && git push --quiet origin HEAD)
"$SRCDIR/scripts/test-morph" petrify
echo "Petrified:"
diff --git a/tests.branching/petrify.stdout b/tests.branching/petrify.stdout
index d2126831..acc08f68 100644
--- a/tests.branching/petrify.stdout
+++ b/tests.branching/petrify.stdout
@@ -13,8 +13,9 @@ Petrified:
{
"name": "goodbye",
"repo": "test:goodbye",
- "ref": "test/petrify",
- "build-depends": []
+ "ref": "f4730636e429149bb923fa16be3aa9802d484b23",
+ "build-depends": [],
+ "unpetrify-ref": "test/petrify"
}
]
}