From e7b3c1f10b551fdd4e8a38992cb34aff4f0ca7b8 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 2 Mar 2018 22:27:58 +0000 Subject: [PATCH] static analysis of freedombone commands --- src/freedombone-tests | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/freedombone-tests b/src/freedombone-tests index 6b30ed50..1a777acb 100755 --- a/src/freedombone-tests +++ b/src/freedombone-tests @@ -88,7 +88,18 @@ function test_static_analysis { if ! shellcheck --exclude SC2034,SC1090 "$filename"; then echo '' echo $"${filename} failed static analysis" - exit 24687242 + exit 3857395935 + fi + done + + FILES="/usr/local/bin/${PROJECT_NAME}-*" + + for filename in $FILES + do + if ! shellcheck --exclude SC2034,SC1090 "$filename"; then + echo '' + echo $"${filename} failed static analysis" + exit 784243468435 fi done }