diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2012-11-07 15:51:01 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2012-11-07 18:53:48 +0000 |
commit | b599757873d5f05e82647287dfd1387f2426e5c5 (patch) | |
tree | 45813def262ff7d58b0e3c9564670fd0907d9ff7 /tests.branching/workflow-petrify.script | |
parent | 25067e0ff261577da0ace26126c01e2829d7e5b7 (diff) | |
download | morph-b599757873d5f05e82647287dfd1387f2426e5c5.tar.gz |
tests: Use test: URL prefix instead of baserock: throughout
Some tests already used test: and in order to be able to share the
scripts/setup-3rd-party-strata script they need to all use the same
prefix.
Using baserock: implies that we are using real code from Baserock,
so I picked test: because the tests only ever use mock morphologies
and no real code.
Diffstat (limited to 'tests.branching/workflow-petrify.script')
-rwxr-xr-x | tests.branching/workflow-petrify.script | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/tests.branching/workflow-petrify.script b/tests.branching/workflow-petrify.script index ac8b233e..a73e17db 100755 --- a/tests.branching/workflow-petrify.script +++ b/tests.branching/workflow-petrify.script @@ -31,44 +31,44 @@ fi . "$SRCDIR/scripts/setup-3rd-party-strata" cd "$DATADIR/workspace" -"$SRCDIR/scripts/test-morph" branch baserock:morphs test/petrify +"$SRCDIR/scripts/test-morph" branch test:morphs test/petrify cd test/petrify "$SRCDIR/scripts/test-morph" petrify echo "test/petrify after petrifying:" -cat baserock:morphs/hello-system.morph -cat baserock:external-strata/stratum2.morph -cat baserock:external-strata/stratum3.morph +cat test:morphs/hello-system.morph +cat test:external-strata/stratum2.morph +cat test:external-strata/stratum3.morph "$SRCDIR/scripts/test-morph" edit hello-system stratum2 hello echo echo "test/petrify after editing a chunk:" -cat baserock:morphs/hello-system.morph -cat baserock:external-strata/stratum2.morph -cat baserock:external-strata/stratum3.morph +cat test:morphs/hello-system.morph +cat test:external-strata/stratum2.morph +cat test:external-strata/stratum3.morph -# me/readme-fixes in baserock:stratum2-hello should be 'master', but +# me/readme-fixes in test:stratum2-hello should be 'master', but # that's the only ref upstream so we can infer that it is if we got here -cd baserock:morphs +cd test:morphs git commit --quiet --all -m "Petrify branch test/petrify" git push --quiet origin test/petrify -cd ../baserock:external-strata +cd ../test:external-strata git commit --quiet --all -m "Petrify branch test/petrify" git push --quiet origin test/petrify # unpetrify is easy enough. Let's try unpetrifying a different branch that # was forked off the original while it was petrified, instead. cd "$DATADIR/workspace" -"$SRCDIR/scripts/test-morph" branch baserock:morphs test/unpetrify test/petrify +"$SRCDIR/scripts/test-morph" branch test:morphs test/unpetrify test/petrify cd test/unpetrify "$SRCDIR/scripts/test-morph" unpetrify echo echo "test/unpetrify after unpetrifying:" -cat baserock:morphs/hello-system.morph -cat baserock:external-strata/stratum2.morph -cat baserock:external-strata/stratum3.morph +cat test:morphs/hello-system.morph +cat test:external-strata/stratum2.morph +cat test:external-strata/stratum3.morph |