Permalink
Browse files

Fix 01-syntax test failures

Exclude some tests with dependencies.

Remove -T from perl line in plugins
This makes it harder to test with PERL5LIB/perlbrew etc
  • Loading branch information...
1 parent d8467d7 commit a23d4b3da952d9e006c735fe61083a5a50ca4dc5 @abh abh committed Apr 29, 2012
Showing with 85 additions and 79 deletions.
  1. +1 −0 Makefile.PL
  2. +1 −1 plugins/async/check_earlytalker
  3. +1 −1 plugins/async/dns_whitelist_soft
  4. +1 −1 plugins/async/dnsbl
  5. +1 −1 plugins/async/queue/smtp-forward
  6. +1 −1 plugins/async/require_resolvable_fromhost
  7. +1 −1 plugins/async/rhsbl
  8. +1 −1 plugins/async/uribl
  9. +1 −1 plugins/auth/auth_checkpassword
  10. +1 −1 plugins/auth/auth_cvm_unix_local
  11. +1 −1 plugins/auth/auth_flat_file
  12. +1 −1 plugins/auth/auth_ldap_bind
  13. +1 −1 plugins/auth/auth_vpopmail
  14. +1 −1 plugins/auth/auth_vpopmail_sql
  15. +1 −1 plugins/auth/auth_vpopmaild
  16. +1 −1 plugins/auth/authdeny
  17. +1 −1 plugins/check_badmailfrom
  18. +1 −1 plugins/check_badmailfromto
  19. +1 −1 plugins/check_badrcptto
  20. +1 −1 plugins/check_badrcptto_patterns
  21. +1 −1 plugins/check_basicheaders
  22. +1 −1 plugins/check_bogus_bounce
  23. +1 −1 plugins/check_earlytalker
  24. +1 −1 plugins/check_loop
  25. +1 −1 plugins/check_norelay
  26. +1 −1 plugins/check_relay
  27. +1 −1 plugins/check_spamhelo
  28. +1 −1 plugins/connection_time
  29. +1 −1 plugins/content_log
  30. +1 −1 plugins/count_unrecognized_commands
  31. +1 −1 plugins/dns_whitelist_soft
  32. +1 −1 plugins/dnsbl
  33. +1 −1 plugins/domainkeys
  34. +1 −1 plugins/dont_require_anglebrackets
  35. +1 −1 plugins/dspam
  36. +1 −1 plugins/greylisting
  37. +1 −1 plugins/help
  38. +1 −1 plugins/hosts_allow
  39. +1 −1 plugins/http_config
  40. +1 −1 plugins/ident/geoip
  41. +1 −1 plugins/ident/p0f
  42. +1 −1 plugins/logging/adaptive
  43. +1 −1 plugins/logging/apache
  44. +1 −1 plugins/logging/connection_id
  45. +1 −1 plugins/logging/devnull
  46. +1 −1 plugins/logging/file
  47. +1 −1 plugins/logging/syslog
  48. +1 −1 plugins/logging/transaction_id
  49. +1 −1 plugins/logging/warn
  50. +1 −1 plugins/milter
  51. +1 −1 plugins/noop_counter
  52. +1 −1 plugins/parse_addr_withhelo
  53. +1 −1 plugins/queue/exim-bsmtp
  54. +1 −1 plugins/queue/maildir
  55. +1 −1 plugins/queue/postfix-queue
  56. +1 −1 plugins/queue/qmail-queue
  57. +1 −1 plugins/queue/smtp-forward
  58. +1 −1 plugins/quit_fortune
  59. +1 −1 plugins/random_error
  60. +1 −1 plugins/rcpt_map
  61. +1 −1 plugins/rcpt_ok
  62. +1 −1 plugins/rcpt_regexp
  63. +1 −1 plugins/relay_only
  64. +1 −1 plugins/require_resolvable_fromhost
  65. +1 −1 plugins/rhsbl
  66. +1 −1 plugins/sender_permitted_from
  67. +1 −1 plugins/spamassassin
  68. +1 −1 plugins/tls
  69. +1 −1 plugins/tls_cert
  70. +1 −1 plugins/uribl
  71. +1 −1 plugins/virus/aveclient
  72. +1 −1 plugins/virus/bitdefender
  73. +1 −1 plugins/virus/clamav
  74. +1 −1 plugins/virus/clamdscan
  75. +1 −1 plugins/virus/hbedv
  76. +1 −1 plugins/virus/kavscanner
  77. +1 −1 plugins/virus/klez_filter
  78. +1 −1 plugins/virus/sophie
  79. +1 −1 plugins/virus/uvscan
  80. +6 −1 t/01-syntax.t
View
@@ -14,6 +14,7 @@ WriteMakefile(
'File::Temp' => 0,
'Time::HiRes' => 0,
'Net::IP' => 0,
+ 'Date::Parse' => 0,
},
ABSTRACT => 'Flexible smtpd daemon written in Perl',
AUTHOR => 'Ask Bjoern Hansen <ask@develooper.com>',
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
use Qpsmtpd::Plugin::Async::DNSBLBase;
View
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
use Qpsmtpd::Plugin::Async::DNSBLBase;
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
use Qpsmtpd::DSN;
use ParaDNS;
View
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
use Qpsmtpd::Plugin::Async::DNSBLBase;
View
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
use Qpsmtpd::Plugin::Async::DNSBLBase;
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
sub register {
my ( $self, $qp, @args ) = @_;
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
use strict;
=head1 NAME
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
use strict;
use warnings;
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
# this plugin checks the badrcptto config (like badmailfrom, but for rcpt address
# rather than sender address)
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=pod
=head1 SYNOPSIS
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
check_earlytalker - Check that the client doesn't talk before we send the SMTP banner
View
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=pod
=head1 SYNOPSIS
View
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
# this plugin checks the relayclients config file and
# $ENV{RELAYCLIENT} to see if relaying is allowed.
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
check_spamhelo - Check a HELO message delivered from a connecting host.
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
View
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
# A simple example of a plugin that logs all incoming mail to a file.
# Useful for debugging other plugins or keeping an archive of things.
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
dns_whitelist_soft - dns-based whitelist override for other qpsmtpd plugins
View
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
View
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
sub init {
my ($self, $qp, %args) = @_;
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
View
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
View
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
denysoft_greylist
View
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
View
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
View
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
http_config
View
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 SYNOPSIS
View
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
# Adaptive logging plugin - logs at one level for successful messages and
# one level for DENY'd messages
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
# this is a simple 'connection_id' plugin like the default builtin logging
#
# It demonstrates that a logging plugin can call ->log itself as well
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
# this is a simple 'drop packets on the floor' plugin
sub hook_logging {
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
# this is a simple 'transaction_id' plugin like the default builtin logging
#
# It demonstrates that a logging plugin can call ->log itself as well
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
# this is a simple 'warn' plugin like the default builtin logging
#
# It demonstrates that a logging plugin can call ->log itself as well
View
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
milter
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
exim-bsmtp
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
smtp-forward
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
sub hook_quit {
my $qp = shift->qp;
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
random_error
View
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
View
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
View
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
rcpt_regexp - check recipients against a list of regular expressions
View
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
use Qpsmtpd::DSN;
use Net::DNS qw(mx);
use Socket;
View
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
sub register {
my ($self, $qp, $denial ) = @_;
@@ -1,4 +1,4 @@
-#!perl -Tw
+#!perl -w
=head1 NAME
Oops, something went wrong. Retry.

0 comments on commit a23d4b3

Please sign in to comment.