diff options
author | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2014-06-08 11:53:09 +0000 |
---|---|---|
committer | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2014-06-08 12:07:16 +0000 |
commit | b4087654e9e332b5d101b6be2c296f782c5e10eb (patch) | |
tree | f6571971e668ba8189d90bf9c433066248b6dca4 /tests.merging/rename-stratum.script | |
parent | 901e79ec9020bc810230625ba824321379f24b85 (diff) | |
download | morph-baserock/ps/simple-edit-syntax.tar.gz |
WIP fixups for tests with new morph syntax. ./check --full fails, thoughbaserock/ps/simple-edit-syntax
Diffstat (limited to 'tests.merging/rename-stratum.script')
-rwxr-xr-x | tests.merging/rename-stratum.script | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/tests.merging/rename-stratum.script b/tests.merging/rename-stratum.script index ba759fa3..11c4cb50 100755 --- a/tests.merging/rename-stratum.script +++ b/tests.merging/rename-stratum.script @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright (C) 2012-2013 Codethink Limited +# Copyright (C) 2012-2014 Codethink Limited # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -26,14 +26,8 @@ cd "$DATADIR/workspace" "$SRCDIR/scripts/test-morph" init "$SRCDIR/scripts/test-morph" branch test:morphs baserock/newbranch -# The user may 'morph edit hello-system hello-stratum hello' and commit here: -# we currently silently ignore her changes on merge, because we don't -# associate hello-stratum and goodbye-stratum at all. - # Rename the stratum -"$SRCDIR/scripts/test-morph" edit hello-system hello-stratum cd baserock/newbranch/test:morphs - sed -e 's/"morph": "hello-stratum"/"morph": "goodbye-stratum"/'\ -i hello-system.morph sed -e 's/"name": "hello-stratum"/"name": "goodbye-stratum"/' \ @@ -42,9 +36,6 @@ git rm -q hello-stratum.morph git add goodbye-stratum.morph git commit -q --all -m "Rename hello-stratum to goodbye-stratum" -# The user may 'morph edit hello-system goodbye-stratum hello' and commit -# here, too: same problem. - # Merge changes back to master (this should fail, because we don't support # adding strata inside branches yet). cd "$DATADIR/workspace" |