summaryrefslogtreecommitdiff
path: root/tests.branching/petrify.stdout
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-07-31 17:29:43 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-08-01 13:29:34 +0000
commitec3d3314f2a6484b3cca591920ed4e8034e546f5 (patch)
tree32faaca189190d0074be747866486c7635474ee6 /tests.branching/petrify.stdout
parentdabe86700200c529846927230e5e97249bf70792 (diff)
downloadmorph-ec3d3314f2a6484b3cca591920ed4e8034e546f5.tar.gz
Add test for petrifying strata
This test checks if the same morphology json is generated during petrification. Because commits include the author and date, the sha1 sum will differ if a different user commits at a different time. This can be overridden by the environment variables GIT_{AUTHOR,COMMITTER}_{NAME,EMAIL,DATE}. The date chosen was just something recent at the time the work was done, since a too-early timestamp is rejected by git as invalid.
Diffstat (limited to 'tests.branching/petrify.stdout')
-rw-r--r--tests.branching/petrify.stdout12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests.branching/petrify.stdout b/tests.branching/petrify.stdout
new file mode 100644
index 00000000..bf8eb1a1
--- /dev/null
+++ b/tests.branching/petrify.stdout
@@ -0,0 +1,12 @@
+{
+ "kind": "stratum",
+ "name": "hello-stratum",
+ "sources": [
+ {
+ "build-depends": [],
+ "name": "hello",
+ "ref": "f4d032b42c0134e67bdf19a43fa99072493667d7",
+ "repo": "baserock:hello"
+ }
+ ]
+} \ No newline at end of file