From 9bb2764c12853eebbe28f809c499c698f78decca Mon Sep 17 00:00:00 2001 From: Christopher Obbard Date: Wed, 7 Jul 2021 16:54:55 +0100 Subject: [PATCH] tests: Allow arguments to be passed to debos Currently we assume all of the tests are run without fakemachine; since we are looking to run the tests with fakemachine as well, let's allow arguments to be passed to the test script which are then passed to debos. Signed-off-by: Christopher Obbard --- docker/recipes.test.yml | 1 + tests/tests.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/recipes.test.yml b/docker/recipes.test.yml index ae7ccdc..d10cb74 100644 --- a/docker/recipes.test.yml +++ b/docker/recipes.test.yml @@ -12,3 +12,4 @@ services: target: /recipes working_dir: /recipes entrypoint: ./tests.sh + command: --disable-fakemachine diff --git a/tests/tests.sh b/tests/tests.sh index 334d1c8..fcea079 100755 --- a/tests/tests.sh +++ b/tests/tests.sh @@ -3,6 +3,6 @@ set -e for dir in simple subdirs separatedirs ; do pushd ${dir} - debos --disable-fakemachine main.yaml + debos $@ main.yaml popd done