diff options
author | Andrej Shadura <andrew.shadura@collabora.co.uk> | 2019-03-26 16:06:59 +0100 |
---|---|---|
committer | Andrej Shadura <andrew.shadura@collabora.co.uk> | 2019-03-26 16:06:59 +0100 |
commit | a3b702fbbd38e925aaf0186c16bf4fc794741f0e (patch) | |
tree | a7a6e9e3e59bf92fec432a3c425dd1abc2f10b4b /actions/recipe_test.go | |
parent | 5669c9ce6d8c817d6f3c04196e2cf59827e447d3 (diff) | |
parent | a5b1ffcadfa25582fa8364b73524bfff3e2a274b (diff) |
Update upstream source from tag 'upstream/1.0.0+git20190326.5bd4aa9'
Update to upstream version '1.0.0+git20190326.5bd4aa9'
with Debian dir 2d4a1a0652c121b2ad5ad91411cbb63c04958fc1
Diffstat (limited to 'actions/recipe_test.go')
-rw-r--r-- | actions/recipe_test.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/actions/recipe_test.go b/actions/recipe_test.go index 972bf61..de9d6ea 100644 --- a/actions/recipe_test.go +++ b/actions/recipe_test.go @@ -231,16 +231,11 @@ actions: var recipeIncluded = subRecipe { "included.yaml", ` -{{- $included_recipe := or .included_recipe "false"}} architecture: amd64 actions: - action: run command: ok.sh - {{- if ne $included_recipe "true" }} - - action: recipe - recipe: armhf.yaml - {{- end }} `, } @@ -314,7 +309,7 @@ actions: } func runTestWithSubRecipes(t *testing.T, test testSubRecipe, templateVars ...map[string]string) actions.Recipe { - var context debos.DebosContext + context := debos.DebosContext { &debos.CommonContext{}, "", "" } dir, err := ioutil.TempDir("", "go-debos") assert.Empty(t, err) defer os.RemoveAll(dir) |