Lars Kruse
ee68a404b5
Plugin w1_: add executable flag and tolerate shellcheck failure
...
Hopefully the issue will be resolved via #1011 .
2019-08-14 04:06:31 +02:00
Lars Kruse
5b8adb5844
Plugin lighttpd_: fix code style issues reported by flake8
2019-08-14 00:42:45 +02:00
Lars Kruse
8b24b64960
Plugin icecast2_all: fix code style issues reported by flake8
2019-08-14 00:36:00 +02:00
Lars Kruse
ab3a583756
Plugin icecast2_: fix code style issues reported by flake8
2019-08-14 00:29:57 +02:00
Lars Kruse
c466adc4d3
Plugin ethermine_hashrate_: fix code style issues reported by flake8
2019-08-14 00:29:25 +02:00
Lars Kruse
275c82f479
Plugin btcguild_hashrate_: fix code style issues reported by flake8
2019-08-14 00:28:44 +02:00
Lars Kruse
ba732fd7ec
Plugin snmp__airport: fix code style issues reported by flake8
2019-08-14 00:09:29 +02:00
Lars Kruse
dacb55010a
Plugin snmp__synology: fix code style issues reported by flake8
2019-08-14 00:02:40 +02:00
Lars Kruse
8b69c8a1fe
Remove plugin solrmulticore
...
The plugin was introduced in 2011 and superseded by the solr4_ plugin
introduced in 2013.
2019-08-13 23:58:19 +02:00
Lars Kruse
a730d96a1f
Remove plugin solr
...
The plugin saw only one substantial commit (its initial addition to the
repository). This very first version of the plugin was already broken
(undefined variable "core1") and was never fixed.
Thus it feels sane to assume, that the plugin was never used.
2019-08-13 23:56:27 +02:00
Lars Kruse
be1dfde5da
Plugin solr4_: fix code style issues reported by flake8
2019-08-13 23:56:27 +02:00
Lars Kruse
24ab44ca23
Plugin tor_: fix code style issues reported by flake8
2019-08-13 23:47:39 +02:00
Lars Kruse
e5abdeeb12
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
with the expectation (based on the file being listed in the above file).
This allows to test all new plugins, while ignoring all known failures.
2019-08-13 05:16:13 +02:00
Steve Schnepp
878e733430
t: fixing skip
2019-07-27 21:15:35 +02:00
Steve Schnepp
f42fdaa669
t: ignore empty files
2019-07-27 21:03:42 +02:00
Steve Schnepp
58f0ab64f3
travis: remove the check for the nvidia plugin
2019-07-27 16:54:43 +02:00
Lars Kruse
6c0e154e07
tests: add "shellcheck" tests for "ksh" scripts
2018-03-09 06:10:25 +01:00
Lars Kruse
ebe5be1d06
tests: verify executable flag for plugins with shebang
2018-03-08 23:43:16 +01:00
Lars Kruse
29e6f53cad
test: removed duplicate branch for "zsh"
...
added (by mistake) in c503e0dbcf
2018-03-08 23:21:55 +01:00
Lars Kruse
7ec35e1753
tests: work around 'checkbashisms' complaining about "command -v"
...
"command -v" should be the preferred way of determining the location (or
existence) of an executable.
Sadly "checkbashisms" interprets "command -v" as a possible bashism,
since "command -v" was introduced in IEEE 1003.1 2013.
But checkbashisms checks for compliance with IEEE 1003.1 2004 - here
"command -v" is listed only as a portability extension.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733511 for the
discussion about checkbashism and "command -v".
See https://unix.stackexchange.com/a/85250 for the discussion about
"command -v" being the most portable check for a program's location.
The workaround itself is bit ugly: 'checkbashisms' is monkey-patched
and fed into the perl interpreter. This makes it harder to re-run the
check command manually (due to complicated quoting).
2018-03-08 04:26:29 +01:00
sumpfralle
78dea36c9c
Merge pull request #648 from akorn/master
...
plugins/virtualization/vserver/vserver_jiffies: several enhancements (but zsh)
2016-10-21 01:45:00 +02:00
Lars Kruse
c503e0dbcf
CI / Travis: add zsh syntax check
2016-10-17 02:21:16 +02:00
Lars Kruse
d1a8965b5a
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.
2015-10-30 06:09:12 +01:00
András Korn
a6ea4c428c
Add zsh syntax check to test.t
2015-09-26 17:25:54 +02:00
Stig Sandbeck Mathisen
3bb0f8a342
Remove todo list, all tests pass
...
[ci skip]
2014-10-05 20:47:12 +02:00
Stig Sandbeck Mathisen
2a638429c5
Update t/todo.org with new numbahs
...
[ci skip]
2014-10-05 20:27:19 +02:00
Stig Sandbeck Mathisen
ad9a1aac23
Update todo list
...
[ci skip]
2014-10-05 15:32:35 +02:00
Stig Sandbeck Mathisen
e33c35ffc3
Update TODO list
...
[ci skip]
2014-10-05 11:52:56 +02:00
Stig Sandbeck Mathisen
f007901b64
Check python scirpts with "py_compile"
...
- leaves a mess behind, but works
2014-10-05 11:24:14 +02:00
Stig Sandbeck Mathisen
08f196eb10
perltidy a bit
2014-10-05 11:23:53 +02:00
Stig Sandbeck Mathisen
1123a5f971
Remove OK tests from todo list
...
[ci skip]
2014-10-05 02:00:11 +02:00
Stig Sandbeck Mathisen
a9d8c62541
add todo list for tests
2014-10-05 00:53:39 +02:00
Stig Sandbeck Mathisen
beca89999e
Handle perl -T checks
2014-10-05 00:17:23 +02:00
Stig Sandbeck Mathisen
9b01da77ba
improve output and disable python checks for now
2014-10-04 23:52:40 +02:00
Stig Sandbeck Mathisen
673303f127
"handle" expect scripts by pretending syntax is ok
2014-10-04 21:49:45 +02:00
Stig Sandbeck Mathisen
6b5e75a04c
Tidy with perltidy
2014-10-04 20:17:52 +02:00
Stig Sandbeck Mathisen
c4ed6e7737
remove shell quoting, it is not needed
2014-10-04 20:16:59 +02:00
Stig Sandbeck Mathisen
92e7aaf801
relax bash regexp a bit, to allow for /usr/bin/env bash
2014-10-04 19:43:08 +02:00
Stig Sandbeck Mathisen
2333696650
Syntax check ksh
2014-10-04 19:33:07 +02:00
Stig Sandbeck Mathisen
80cb37418a
Add automated tests
2014-10-04 15:40:28 +02:00