diff options
author | Nils Durner <durner@gnunet.org> | 2009-08-26 20:44:17 +0000 |
---|---|---|
committer | Nils Durner <durner@gnunet.org> | 2009-08-26 20:44:17 +0000 |
commit | 9599ddde39d1798171d5a188ed1b44e50e26bab0 (patch) | |
tree | 9c2f17b5243936a2ca64eac8b19013488b3c936c /src/util/test_disk.c | |
parent | 85172474808b86fb0b11d1f2a63a88d3741d5ecb (diff) | |
download | gnunet-9599ddde39d1798171d5a188ed1b44e50e26bab0.tar.gz gnunet-9599ddde39d1798171d5a188ed1b44e50e26bab0.zip |
expect platform specific slashes
Diffstat (limited to 'src/util/test_disk.c')
-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) |