gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r8861 - gnunet/src/util


From: gnunet
Subject: [GNUnet-SVN] r8861 - gnunet/src/util
Date: Wed, 26 Aug 2009 14:44:17 -0600

Author: durner
Date: 2009-08-26 14:44:17 -0600 (Wed, 26 Aug 2009)
New Revision: 8861

Modified:
   gnunet/src/util/test_disk.c
Log:
expect platform specific slashes

Modified: gnunet/src/util/test_disk.c
===================================================================
--- gnunet/src/util/test_disk.c 2009-08-26 09:13:18 UTC (rev 8860)
+++ gnunet/src/util/test_disk.c 2009-08-26 20:44:17 UTC (rev 8861)
@@ -136,11 +136,11 @@
 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)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]