mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
Add zsh syntax check to test.t
This commit is contained in:
parent
c9e77c391a
commit
a6ea4c428c
1 changed files with 8 additions and 0 deletions
8
t/test.t
8
t/test.t
|
@ -79,6 +79,14 @@ sub process_file {
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
elsif ( $interpreter =~ m{/bin/zsh} ) {
|
||||||
|
run_check(
|
||||||
|
{ command => [ 'zsh', '-n', $file ],
|
||||||
|
description => 'zsh syntax check',
|
||||||
|
filename => $filename
|
||||||
|
}
|
||||||
|
);
|
||||||
|
}
|
||||||
elsif ( $interpreter =~ m{perl} ) {
|
elsif ( $interpreter =~ m{perl} ) {
|
||||||
my $command;
|
my $command;
|
||||||
if ( $arguments =~ m{-.*T}mx ) {
|
if ( $arguments =~ m{-.*T}mx ) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue