mirror of
https://github.com/searxng/searxng.git
synced 2024-11-23 04:27:46 +01:00
Merge pull request #782 from return42/fix-sh-issues
[fix] issues reported by and fix documentation of test.shell
This commit is contained in:
commit
edfbf94481
@ -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
2
manage
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user