#include <stdlib.h>
#include <string.h>
-static const gchar *test_file;
+static gchar *test_file;
char *test_file_buffer;
gsize test_file_size;
g_test_init (&argc, &argv, NULL);
- test_file = g_test_build_filename (G_TEST_DISTED, "contexts.c", NULL);
+ test_file = g_test_build_filename (G_TEST_DIST, "contexts.c", NULL);
g_file_get_contents (test_file, &test_file_buffer,
&test_file_size, &error);
g_assert_no_error (error);
ret = g_test_run();
g_free (test_file_buffer);
+ g_free (test_file);
return ret;
}