summaryrefslogtreecommitdiffstats
path: root/server/tests
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2009-02-25 16:40:17 -0500
committerSimo Sorce <ssorce@redhat.com>2009-02-26 09:13:20 -0500
commitc9f6d2795fde2f9bf80277d425df2b44bc860226 (patch)
tree301e1217eb5fda73351e9c7fb2f73048853942df /server/tests
parent03fa4034a6a74a326e5340dae42d85eea4516b3c (diff)
downloadsssd-c9f6d2795fde2f9bf80277d425df2b44bc860226.tar.gz
sssd-c9f6d2795fde2f9bf80277d425df2b44bc860226.tar.xz
sssd-c9f6d2795fde2f9bf80277d425df2b44bc860226.zip
Rebase the code to use talloc, tdb, tevent, ldb as external
dependencies based on the latest samba code. Convert all references to the old events library to use the renamed tevent library.
Diffstat (limited to 'server/tests')
-rw-r--r--server/tests/sysdb-tests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/sysdb-tests.c b/server/tests/sysdb-tests.c
index f809f5542..cd3579859 100644
--- a/server/tests/sysdb-tests.c
+++ b/server/tests/sysdb-tests.c
@@ -33,7 +33,7 @@
struct sysdb_test_ctx {
struct sysdb_ctx *sysdb;
struct confdb_ctx *confdb;
- struct event_context *ev;
+ struct tevent_context *ev;
};
static int setup_sysdb_tests(struct sysdb_test_ctx **ctx)
@@ -51,7 +51,7 @@ static int setup_sysdb_tests(struct sysdb_test_ctx **ctx)
/* Create an event context
* It will not be used except in confdb_init and sysdb_init
*/
- test_ctx->ev = event_context_init(test_ctx);
+ test_ctx->ev = tevent_context_init(test_ctx);
if (test_ctx->ev == NULL) {
fail("Could not create event context");
talloc_free(test_ctx);