diff options
-rw-r--r-- | src/util/test_disk.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/test_disk.c b/src/util/test_disk.c index 772ca2889..f2bdb19d7 100644 --- a/src/util/test_disk.c +++ b/src/util/test_disk.c | |||
@@ -136,11 +136,11 @@ scan_callback (void *want, const char *filename) | |||
136 | static int | 136 | static int |
137 | testDirScan () | 137 | testDirScan () |
138 | { | 138 | { |
139 | if (GNUNET_OK != GNUNET_DISK_directory_create ("test/entry")) | 139 | if (GNUNET_OK != GNUNET_DISK_directory_create ("test" DIR_SEPARATOR_STR "entry")) |
140 | return 1; | 140 | return 1; |
141 | if (GNUNET_OK != GNUNET_DISK_directory_create ("test/entry_more")) | 141 | if (GNUNET_OK != GNUNET_DISK_directory_create ("test" DIR_SEPARATOR_STR "entry_more")) |
142 | return 1; | 142 | return 1; |
143 | GNUNET_DISK_directory_scan ("test", &scan_callback, "test/entry"); | 143 | GNUNET_DISK_directory_scan ("test", &scan_callback, "test" DIR_SEPARATOR_STR "entry"); |
144 | if (GNUNET_OK != GNUNET_DISK_directory_remove ("test")) | 144 | if (GNUNET_OK != GNUNET_DISK_directory_remove ("test")) |
145 | return 1; | 145 | return 1; |
146 | if (ok < 2) | 146 | if (ok < 2) |