[xBuild] Support use of properties defined in Choose elements in project references
[mono.git] / eglib / test / pattern.c
index ade3abf665e3d7874ea0951cdcb984df66426830..7db5a7be3dea442ebc76e9802e4f1aa29744787c 100644 (file)
@@ -1,7 +1,10 @@
+#include <config.h>
 #include <glib.h>
 #include <string.h>
 #include <stdlib.h>
+#ifdef HAVE_UNISTD_H
 #include <unistd.h>
+#endif
 #include <stdio.h>
 #include "test.h"
 
@@ -22,7 +25,6 @@ test_pattern_spec ()
        gboolean res;
 
        /* spec = g_pattern_spec_new (NULL); */
-       printf ("%s\n", g_get_home_dir ());
        TEST_MATCH ("*", "hola", 1);
        TEST_MATCH ("hola", "hola", 2);
        TEST_MATCH ("????", "hola", 3);
@@ -56,3 +58,4 @@ static Test pattern_tests [] = {
 
 DEFINE_TEST_GROUP_INIT(pattern_tests_init, pattern_tests)
 
+