equal
deleted
inserted
replaced
24 |
24 |
25 #undef G_DISABLE_ASSERT |
25 #undef G_DISABLE_ASSERT |
26 #undef G_LOG_DOMAIN |
26 #undef G_LOG_DOMAIN |
27 |
27 |
28 #include <stdio.h> |
28 #include <stdio.h> |
29 #include <unistd.h> |
|
30 #include <string.h> |
29 #include <string.h> |
31 #include <sys/stat.h> |
30 #include <sys/stat.h> |
32 #include "glib.h" |
31 #include "glib.h" |
33 #include <errno.h> |
32 #include <errno.h> |
|
33 #include <unistd.h> |
34 #ifdef SYMBIAN |
34 #ifdef SYMBIAN |
35 #include "mrt2_glib2_test.h" |
35 #include "mrt2_glib2_test.h" |
36 #endif /*SYMBIAN*/ |
36 #endif /*SYMBIAN*/ |
37 |
37 |
38 |
38 |
57 g_assert(!strcmp(g_dir_read_name(dir),"tmp")); |
57 g_assert(!strcmp(g_dir_read_name(dir),"tmp")); |
58 |
58 |
59 g_dir_close(dir); |
59 g_dir_close(dir); |
60 |
60 |
61 #if SYMBIAN |
61 #if SYMBIAN |
62 testResultXml("dirname_test"); |
62 testResultXml("dirnme_test"); |
63 #endif /* EMULATOR */ |
63 #endif /* EMULATOR */ |
64 |
64 |
65 rmdir("c:\\temp\\tmp"); |
65 rmdir("c:\\temp\\tmp"); |
66 rmdir("c:\\temp"); |
66 rmdir("c:\\temp"); |
67 return 0; |
67 return 0; |