diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2012-09-27 19:26:47 +0100 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2012-09-27 19:29:54 +0100 |
commit | 8720a665cb2203ff512f992a72a2d92678a9c613 (patch) | |
tree | 123f8853a3a30723d31a8ff0a26645f117c8fc8d | |
parent | 0ed3a78cc41eeee63f96c3b8111f8cf473e2d962 (diff) | |
download | morph-8720a665cb2203ff512f992a72a2d92678a9c613.tar.gz |
Remove dead code from the end of test
This code made no sense, but since the previous command was expected
to fail it didn't have any effect on the test.
-rwxr-xr-x | tests.branching/merge-conflict-stratum.script | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/tests.branching/merge-conflict-stratum.script b/tests.branching/merge-conflict-stratum.script index 8f0a3170..ff00f364 100755 --- a/tests.branching/merge-conflict-stratum.script +++ b/tests.branching/merge-conflict-stratum.script @@ -95,25 +95,6 @@ cat <<EOF > "hello-stratum.morph" EOF git commit --quiet --all -m "Split up 'hello' chunk into devel and runtime" -# Merge changes from test/feature to test/stable +# Merge changes from test/feature to test/stable - we expect failure cd "$DATADIR/workspace/test/stable" "$SRCDIR/scripts/test-morph" merge test/feature - -# Check results: changes to 'hello' should have been merged back to -# test/stable. -cd baserock:hello -[ -e newfile.txt ] - -# Make sure all changes are committed and to the correct branch ('hello' -# was built from 'master' before branching, so the changes should be -# merged back to 'master'). -git status --short -[ $(git rev-parse master) = $(git rev-parse HEAD) ] - -# Changes here should be on test/stable. -cd ../baserock:morphs -git status --short -[ $(git rev-parse test/stable) = $(git rev-parse HEAD) ] - -# Make sure all refs to the merged branch have gone. -! grep "\"ref\": \"test/feature\"" *.morph |