about summary refs log tree commit diff stats
path: root/tests/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test.c')
-rw-r--r--tests/test.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/test.c b/tests/test.c
index d96167c..fc55e90 100644
--- a/tests/test.c
+++ b/tests/test.c
@@ -3,9 +3,12 @@
 int main(int argc, char *argv[])
 {
 	mumble_ctx_t ctx;
-	printf("%ld\n", ctx.uv_loop.time);
-	mumble_init_ctx(&ctx);
-	printf("%ld\n", ctx.uv_loop.time);
-	mumble_free_ctx(&ctx);
+	printf("%d\n", ctx.status);
+	mumble_ctx_init(&ctx);
+	printf("%d\n", ctx.status);
+
+	mumble_connect(&ctx, "127.0.0.1", 0);
+
+	mumble_ctx_close(&ctx);
 	printf("%ld\n", ctx.uv_loop.time);
 }