proxmox-spamassassin/upstream/t/perlcritic.t
Stoiko Ivanov ae52237fd8 update SpamAssassin to 4.0.0
generated by make update-upstream

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2023-03-13 21:13:17 +01:00

15 lines
432 B
Perl

#!/usr/bin/perl -T
# Wrapper around test until perlcritic fixes bug running under -T
# sa_t_init handles a number of necessary cross-platform initialization that is necessary
# even though this wrapper doesn't need most things that are also in there
use lib '.'; use lib 't';
use SATest; sa_t_init('perlcritic');
use strict;
use warnings;
-d "t" && "$^X t/perlcritic.pl" =~ /(.*)/ ||
"$^X perlcritic.pl" =~ /(.*)/;
exec($1);