summaryrefslogtreecommitdiffstats
path: root/src/tests/common_tev.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/common_tev.c')
-rw-r--r--src/tests/common_tev.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tests/common_tev.c b/src/tests/common_tev.c
index 770f97d83..808efd459 100644
--- a/src/tests/common_tev.c
+++ b/src/tests/common_tev.c
@@ -83,3 +83,9 @@ int test_ev_loop(struct sss_test_ctx *tctx)
return tctx->error;
}
+
+void test_ev_done(struct sss_test_ctx *tctx, errno_t ret)
+{
+ tctx->error = ret;
+ tctx->done = true;
+}