diff options
author | guillaume.lambert <guillaume.lambert@orange.com> | 2021-12-08 10:14:09 +0100 |
---|---|---|
committer | guillaume.lambert <guillaume.lambert@orange.com> | 2021-12-08 13:59:05 +0100 |
commit | 0daad9993ff4d1ea146e0100e78708964c6a9921 (patch) | |
tree | a0306173a248f712529c6042b6195e5e4c67fce9 /tox.ini | |
parent | f657a816b9074f5bf2b3d300d93266269c1f05a5 (diff) |
[COMMON] Fix & add to bashisms CI failover scripts
Issue-ID: OOM-2643
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Icf139e50d44aed0315d0e4cb21c59ad05a5a3bdb
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -65,7 +65,9 @@ commands = || (echo "checkbashisms command not found - please install it (e.g. sudo apt-get install devscripts | \ yum install devscripts-minimal )" >&2 && exit 1)' find . -not -path '*/\.*' -name *.sh -exec checkbashisms \{\} + + find . -not -path '*/\.*' -name *.failover -exec checkbashisms -f \{\} + sh -c "! find . -not -path '*/\.*' -name *.sh -exec grep 'local .*=' \{\} + || exit 2" + sh -c "! find . -not -path '*/\.*' -name *.failover -exec grep 'local .*=' \{\} + || exit 2" [testenv:autopep8] deps = |