blob: f895eda22fad3fcc906d816e21946d1d05fd4f15 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!perl -wT
use strict;
use Test::More;
plan tests => 1;
# ----------
# CPAN-RT#21516: closelog() wasn't correctly calling closelog_xs() when
# using the native mechanism.
#
use Sys::Syslog;
openlog("sys-syslog-test", 'pid,ndelay', 'user');
closelog();
is( $@, '', "was closelog_xs() correctly called?" );
|