[PATCH] torture3: Do not depend on epoll

Volker Lendecke Volker.Lendecke at SerNet.DE
Sat Dec 14 01:15:36 MST 2013


Hi!

Fix a test for platforms without epoll.

Please review & push!

Thanks,

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de
-------------- next part --------------
>From cc4f39d34a6e9cd4f05126851efd725d1a58574a Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl at samba.org>
Date: Fri, 13 Dec 2013 14:55:45 +0100
Subject: [PATCH] torture3: Do not depend on epoll

Signed-off-by: Volker Lendecke <vl at samba.org>
---
 source3/torture/torture.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index 6789d85..edb12b0 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -8921,7 +8921,7 @@ static bool run_local_wbclient(int dummy)
 
 	BlockSignals(True, SIGPIPE);
 
-	ev = tevent_context_init_byname(talloc_tos(), "epoll");
+	ev = tevent_context_init(talloc_tos());
 	if (ev == NULL) {
 		goto fail;
 	}
-- 
1.7.9.5



More information about the samba-technical mailing list