From 9b4a0de70a80ffd2ddefd46593a665ad48a74485 Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Fri, 4 May 2012 15:07:04 -0400 Subject: [PATCH] enable plugin syntax checks for developers --- t/01-syntax.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/01-syntax.t b/t/01-syntax.t index d7dafd1..5be4de7 100644 --- a/t/01-syntax.t +++ b/t/01-syntax.t @@ -35,7 +35,7 @@ my @files = find( {wanted=>\&test_syntax, no_chdir=>1}, 'plugins', 'lib' ); sub test_syntax { my $f = $File::Find::name; chomp $f; - return if $f =~ m{^plugins/}; + return if $f =~ m{^plugins/} && ! $ENV{QPSMTPD_DEVELOPER}; return if ! -f $f; return if $skip_syntax{$f}; return if $f =~ m/(~|\.(bak|orig|rej))/;