Blame SOURCES/perl-PlRPC-0.2020-Do-not-use-syslog.patch

1a3b73
From acb5f1175c617f0be89f23648a0f3e0a4394230a Mon Sep 17 00:00:00 2001
1a3b73
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
1a3b73
Date: Fri, 27 Jan 2012 11:06:08 +0100
1a3b73
Subject: [PATCH] Do not use syslog
1a3b73
1a3b73
---
1a3b73
 t/client.t |    2 +-
1a3b73
 t/lib.pl   |    1 +
1a3b73
 t/server   |    2 +-
1a3b73
 3 files changed, 3 insertions(+), 2 deletions(-)
1a3b73
1a3b73
diff --git a/t/client.t b/t/client.t
1a3b73
index a283f2d..e19231d 100644
1a3b73
--- a/t/client.t
1a3b73
+++ b/t/client.t
1a3b73
@@ -30,7 +30,7 @@ my @opts = ('peeraddr' => '127.0.0.1', 'peerport' => $port, 'debug' => 1,
1a3b73
 my $client;
1a3b73
 
1a3b73
 # Making a first connection and closing it immediately
1a3b73
-Test(eval { RPC::PlClient->new(@opts) })
1a3b73
+Test(eval { RPC::PlClient->new(@opts, 'logfile' => 1) })
1a3b73
     or print "Failed to make first connection: $@\n";
1a3b73
 
1a3b73
 RunTests(@opts);
1a3b73
diff --git a/t/lib.pl b/t/lib.pl
1a3b73
index bc61b2c..559b899 100644
1a3b73
--- a/t/lib.pl
1a3b73
+++ b/t/lib.pl
1a3b73
@@ -18,6 +18,7 @@ sub RunTests (@) {
1a3b73
 	shift;
1a3b73
 	$key = shift;
1a3b73
     }
1a3b73
+    push @_, 'logfile', 1;
1a3b73
 
1a3b73
     # Making a new connection
1a3b73
     Test($client = eval { RPC::PlClient->new(@_) })
1a3b73
diff --git a/t/server b/t/server
1a3b73
index 46dcf97..c44f10a 100644
1a3b73
--- a/t/server
1a3b73
+++ b/t/server
1a3b73
@@ -74,7 +74,7 @@ sub Version ($) {
1a3b73
 
1a3b73
 package main;
1a3b73
 
1a3b73
-my $server = CalcServer->new({'pidfile' => 'none'}, \@ARGV);
1a3b73
+my $server = CalcServer->new({'pidfile' => 'none', 'logfile' => 1}, \@ARGV);
1a3b73
 
1a3b73
 $server->Bind();
1a3b73
 
1a3b73
-- 
1a3b73
1.7.7.6
1a3b73