Skip to content

Commit

Permalink
[CPAN-RT #69986] fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
maddingue committed Aug 15, 2012
1 parent 4d8f660 commit abce11e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/syslog.t
Expand Up @@ -283,7 +283,7 @@ ok( !$r, "setlogsock failed correctly with a nonexistent stream path");
is( $@, '', "setlogsock didn't croak");

SKIP: {
my $service = getservbyname("syslog", "tcp") || getservbyname("syslog-ng", "tcp");
my $service = getservbyname("syslog", "tcp") || getservbyname("syslogng", "tcp");
skip "can't test setlogsock() tcp failure", 2 if $service;
eval { $r = setlogsock("tcp") };
ok( !$r, "setlogsock failed correctly when tcp services can't be resolved");
Expand Down

0 comments on commit abce11e

Please sign in to comment.