Historique | Voir | Annoter | Télécharger (7,88 ko)
tests: enable shellcheck for shell-based plugins and flake8 for python-based plugins
Many plugins are still failing these tests.These expected failures are listed in a file(t/test-exception-wrapper.expected-failures)A wrapper script is used for running the tests and comparing the result...
t: fixing skip
t: ignore empty files
travis: remove the check for the nvidia plugin
tests: add "shellcheck" tests for "ksh" scripts
tests: verify executable flag for plugins with shebang
test: removed duplicate branch for "zsh"
added (by mistake) in c503e0dbcfd8ccffbe7e86c1437266baf53802c9
tests: work around 'checkbashisms' complaining about "command -v"
"command -v" should be the preferred way of determining the location (orexistence) of an executable.Sadly "checkbashisms" interprets "command -v" as a possible bashism,since "command -v" was introduced in IEEE 1003.1 2013....
Merge pull request #648 from akorn/master
plugins/virtualization/vserver/vserver_jiffies: several enhancements (but zsh)
CI / Travis: add zsh syntax check
tests: test compiling with python3 if given as shebang interpreter
Currently plugins fail to compile if they use Python 3 syntax features,even though they use a correct shebang.
Add zsh syntax check to test.t
Check python scirpts with "py_compile"
- leaves a mess behind, but works
perltidy a bit
Handle perl -T checks
improve output and disable python checks for now
"handle" expect scripts by pretending syntax is ok
Tidy with perltidy
remove shell quoting, it is not needed
relax bash regexp a bit, to allow for /usr/bin/env bash
Syntax check ksh
Add automated tests