Merge pull request #782 from return42/fix-sh-issues

[fix] issues reported by and fix documentation of test.shell
This commit is contained in:
Markus Heiser 2022-01-18 13:36:37 +01:00 committed by GitHub
commit edfbf94481
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -238,10 +238,10 @@ and ``test.robot``. You can run tests selective, e.g.::
... ...
TEST test.sh OK 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 :ref:`sh lint` / if you have changed some bash scripting run this test before
commit. commit.

2
manage
View File

@ -713,7 +713,7 @@ test.robot() {
} }
test.rst() { test.rst() {
build_msg TEST "[reST markup] ${RST_FILES[@]}" build_msg TEST "[reST markup] ${RST_FILES[*]}"
for rst in "${RST_FILES[@]}"; do for rst in "${RST_FILES[@]}"; do
pyenv.cmd rst2html.py --halt error "$rst" > /dev/null || die 42 "fix issue in $rst" pyenv.cmd rst2html.py --halt error "$rst" > /dev/null || die 42 "fix issue in $rst"
done done