1
0
Fork 0
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:
András Korn 2015-09-26 17:25:54 +02:00
parent c9e77c391a
commit a6ea4c428c

View file

@ -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} ) {
my $command;
if ( $arguments =~ m{-.*T}mx ) {