2
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00
Commit graph

21 commits

Author SHA1 Message Date
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