From 545c41a6694ac5273dbfe1a0e119be04eaeef468 Mon Sep 17 00:00:00 2001 From: Clement Delafargue Date: Tue, 30 Jun 2020 15:33:22 +0200 Subject: fix(test): log all commads to `$binary-commands` Previously, only the commands not directly handled by the stub were logged. We want to log all commands instead --- tests/fake.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/fake.sh b/tests/fake.sh index 0303b61..65ff819 100755 --- a/tests/fake.sh +++ b/tests/fake.sh @@ -13,6 +13,7 @@ elif [ "${binary}" = "clever" ] && [ "${1}" = "status" ]; then elif [ "${binary}" = "git" ]; then echo "${localCommit}" else - echo "${1}" >> "${binary}-commands" echo "${binary} called with arguments: ${*}" fi + +echo "${1}" >> "${binary}-commands" -- cgit v1.2.3