From f4ec3d2b80ee3379041e92c350b1b2c7327ff050 Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Wed, 29 Apr 2015 01:25:13 +0000 Subject: 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 --- yarns/branches-workspaces.yarn | 9 +++------ 1 file 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. -- cgit v1.2.1