From: Nils Durner Date: Wed, 26 Aug 2009 20:44:17 +0000 (+0000) Subject: expect platform specific slashes X-Git-Tag: initial-import-from-subversion-38251~23585 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9599ddde39d1798171d5a188ed1b44e50e26bab0;p=oweals%2Fgnunet.git expect platform specific slashes --- 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) static int testDirScan () { - if (GNUNET_OK != GNUNET_DISK_directory_create ("test/entry")) + if (GNUNET_OK != GNUNET_DISK_directory_create ("test" DIR_SEPARATOR_STR "entry")) return 1; - if (GNUNET_OK != GNUNET_DISK_directory_create ("test/entry_more")) + if (GNUNET_OK != GNUNET_DISK_directory_create ("test" DIR_SEPARATOR_STR "entry_more")) return 1; - GNUNET_DISK_directory_scan ("test", &scan_callback, "test/entry"); + GNUNET_DISK_directory_scan ("test", &scan_callback, "test" DIR_SEPARATOR_STR "entry"); if (GNUNET_OK != GNUNET_DISK_directory_remove ("test")) return 1; if (ok < 2)