From fea9ad7927aa3225f985c4c2b8b2f9c584f2fff6 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Tue, 18 Jan 2022 12:27:42 +0100 Subject: [PATCH 1/2] [fix] issue reported by: make test.shell $ make test.shell ./manage line 716: build_msg TEST "[reST markup] ${RST_FILES[@]}"" ^-------------^ SC2145: Argument mixes string and array. Use * or separate argument. Signed-off-by: Markus Heiser --- manage | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manage b/manage index 88ac75aac..1f4ffa53b 100755 --- a/manage +++ b/manage @@ -713,7 +713,7 @@ test.robot() { } test.rst() { - build_msg TEST "[reST markup] ${RST_FILES[@]}" + build_msg TEST "[reST markup] ${RST_FILES[*]}" for rst in "${RST_FILES[@]}"; do pyenv.cmd rst2html.py --halt error "$rst" > /dev/null || die 42 "fix issue in $rst" done From f910c0b3eec61eaa370afe283af6c64c6ba6004d Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Tue, 18 Jan 2022 12:30:32 +0100 Subject: [PATCH 2/2] [fix] typo 'test.sh' in the docs/dev/makefile.rst to 'test.shell' make test.sh --> make test.shell Signed-off-by: Markus Heiser --- docs/dev/makefile.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/dev/makefile.rst b/docs/dev/makefile.rst index 8c9058c34..8e9de7882 100644 --- a/docs/dev/makefile.rst +++ b/docs/dev/makefile.rst @@ -238,10 +238,10 @@ and ``test.robot``. You can run tests selective, e.g.:: ... TEST test.sh OK -.. _make test.sh: +.. _make test.shell: -``make test.sh`` -================ +``make test.shell`` +=================== :ref:`sh lint` / if you have changed some bash scripting run this test before commit.