summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--glib/tests/fileutils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/glib/tests/fileutils.c b/glib/tests/fileutils.c
index bb9a24210..dd05a2463 100644
--- a/glib/tests/fileutils.c
+++ b/glib/tests/fileutils.c
@@ -545,7 +545,9 @@ test_file_errors (void)
g_assert (g_file_error_from_errno (ETXTBSY) == G_FILE_ERROR_TXTBSY);
#endif
g_assert (g_file_error_from_errno (EFAULT) == G_FILE_ERROR_FAULT);
+#ifdef ELOOP
g_assert (g_file_error_from_errno (ELOOP) == G_FILE_ERROR_LOOP);
+#endif
g_assert (g_file_error_from_errno (ENOSPC) == G_FILE_ERROR_NOSPC);
g_assert (g_file_error_from_errno (ENOMEM) == G_FILE_ERROR_NOMEM);
g_assert (g_file_error_from_errno (EMFILE) == G_FILE_ERROR_MFILE);