diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2015-09-22 16:25:24 +0000 |
---|---|---|
committer | Baserock Gerrit <gerrit@baserock.org> | 2015-09-23 14:45:06 +0000 |
commit | b64bdc52c6158ae6aca62baaf68d8fb66687a37b (patch) | |
tree | ea167aff5ef027329dc5a85016062ae04a46e97d /tests.branching/edit-clones-chunk.script | |
parent | 46511c257999b1c5bdfa02a1ae7d04ee26ffee8f (diff) | |
download | morph-b64bdc52c6158ae6aca62baaf68d8fb66687a37b.tar.gz |
Remove some tests which dependended on `morph foreach`
Commit a4d8098b229592db40565747b0444b518bf8a6eb removed the `morph
foreach` command, which broke some `morph edit` tests. I don't think
we are ready to remove `morph edit` yet (documentation still mentions
it) but we can remove these tests, which require `morph foreach` to
work.
Change-Id: Id372760f69f31a46d1d872ee36ec6fdfb324ce34
Diffstat (limited to 'tests.branching/edit-clones-chunk.script')
-rwxr-xr-x | tests.branching/edit-clones-chunk.script | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/tests.branching/edit-clones-chunk.script b/tests.branching/edit-clones-chunk.script deleted file mode 100755 index 710565fb..00000000 --- a/tests.branching/edit-clones-chunk.script +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh -# -# Copyright (C) 2012-2015 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 -# the Free Software Foundation; version 2 of the License. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program. If not, see <http://www.gnu.org/licenses/>. - - -## Verify that "morph edit" clones a chunk repository into a system branch. - -set -eu - -# Create system branch. -cd "$DATADIR/workspace" -"$SRCDIR/scripts/test-morph" init -"$SRCDIR/scripts/test-morph" branch test:morphs newbranch - -# Edit chunk. -"$SRCDIR/scripts/test-morph" edit hello - -echo "Current branches:" -"$SRCDIR/scripts/test-morph" foreach git branch - -echo -echo "Current origins:" -"$SRCDIR/scripts/test-morph" foreach git remote show origin | \ - sed 's,\(TMP/workspace/\.morph/cache/gits/file_\).*_,\1,g' |