GError *error;
error = NULL;
- file = g_mapped_file_new ("empty", FALSE, &error);
+ file = g_mapped_file_new (SRCDIR "/empty", FALSE, &error);
g_assert_no_error (error);
g_assert (g_mapped_file_get_contents (file) == NULL);
const gchar *new = "abcdefghijklmnopqrstuvxyz";
error = NULL;
- file = g_mapped_file_new ("4096-random-bytes", TRUE, &error);
+ file = g_mapped_file_new (SRCDIR "/4096-random-bytes", TRUE, &error);
g_assert_no_error (error);
contents = g_mapped_file_get_contents (file);
g_mapped_file_free (file);
error = NULL;
- file = g_mapped_file_new ("4096-random-bytes", TRUE, &error);
+ file = g_mapped_file_new (SRCDIR "/4096-random-bytes", TRUE, &error);
g_assert_no_error (error);
contents = g_mapped_file_get_contents (file);