diff options
Diffstat (limited to 't')
-rwxr-xr-x | t/lib/syslog.t | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/t/lib/syslog.t b/t/lib/syslog.t index 04adb6bed9..801e882508 100755 --- a/t/lib/syslog.t +++ b/t/lib/syslog.t @@ -22,6 +22,15 @@ BEGIN { } } +BEGIN { + eval {require Sys::Syslog} or do { + if ($@ =~ /Your vendor has not/) { + print "1..0 # Skipped: missing macros\n"; + exit 0; + } + } +} + use Sys::Syslog qw(:DEFAULT setlogsock); # Test this to 1 if your syslog accepts udp connections. |