summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2015-04-29 01:25:13 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2015-04-29 11:32:51 +0000
commitf4ec3d2b80ee3379041e92c350b1b2c7327ff050 (patch)
tree02bf4d1539192342682aaa035bc929b6a2f1e127
parenteaa06853a161d87b1623cf56f75d3ec404ba06f6 (diff)
downloadmorph-f4ec3d2b80ee3379041e92c350b1b2c7327ff050.tar.gz
yarns: Fix get-repo test falsely checking exit result
"the user gets the repo" does not set exit-morph, so it is not valid to check whether it exited successfully. Change-Id: I05e2d5c1919eee6b714269642eb9c39bcf578bbc
-rw-r--r--yarns/branches-workspaces.yarn9
1 files changed, 3 insertions, 6 deletions
diff --git a/yarns/branches-workspaces.yarn b/yarns/branches-workspaces.yarn
index 6ccbe28f..fa04be42 100644
--- a/yarns/branches-workspaces.yarn
+++ b/yarns/branches-workspaces.yarn
@@ -220,20 +220,17 @@ without changing the morphologies in definitions.
AND a git server
WHEN the user creates a system branch called foo
AND the user gets the repo for chunk test-chunk in branch foo
- THEN morph succeeded
- AND the repo for chunk test-chunk was cloned into the system branch foo
+ THEN the repo for chunk test-chunk was cloned into the system branch foo
We can also specify the directory to clone the repo into.
WHEN the user gets the repo for chunk test-chunk from branch foo in directory foo
- THEN morph succeeded
- AND the repo for chunk test-chunk was cloned into the directory foo
+ THEN the repo for chunk test-chunk was cloned into the directory foo
A ref to checkout can also be specified.
WHEN the user gets the repo for chunk test-chunk from branch foo in directory bar at ref master
- THEN morph succeeded
- AND the repo for chunk test-chunk was cloned into the directory bar
+ THEN the repo for chunk test-chunk was cloned into the directory bar
AND the repo in directory bar has HEAD master
This should not work if the directory already exists.