Skip to content
Snippets Groups Projects
Commit e9b33a10 authored by Simon McVittie's avatar Simon McVittie
Browse files

tests: Use libglnx's g_test_skip_printf() backport

parent 7d59ee6e
No related branches found
No related tags found
1 merge request!504Update libglnx
......@@ -395,10 +395,8 @@ test_rlimit (Fixture *f,
if (getrlimit (RLIMIT_NOFILE, &original) < 0)
{
int saved_errno = errno;
g_autofree gchar *message = NULL;
message = g_strdup_printf ("getrlimit: %s", g_strerror (saved_errno));
g_test_skip (message);
g_test_skip_printf ("getrlimit: %s", g_strerror (saved_errno));
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment