[ros-diffs] [pschweitzer] 54812: [SHELL32_WINETEST] Fix build *grmbl*

pschweitzer at svn.reactos.org pschweitzer at svn.reactos.org
Mon Jan 2 23:56:57 UTC 2012


Author: pschweitzer
Date: Mon Jan  2 23:56:55 2012
New Revision: 54812

URL: http://svn.reactos.org/svn/reactos?rev=54812&view=rev
Log:
[SHELL32_WINETEST]
Fix build
*grmbl*

Modified:
    trunk/rostests/winetests/shell32/shlfileop.c

Modified: trunk/rostests/winetests/shell32/shlfileop.c
URL: http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/shell32/shlfileop.c?rev=54812&r1=54811&r2=54812&view=diff
==============================================================================
--- trunk/rostests/winetests/shell32/shlfileop.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/shell32/shlfileop.c [iso-8859-1] Mon Jan  2 23:56:55 2012
@@ -116,6 +116,7 @@
   return GetFileAttributesW(name) != INVALID_FILE_ATTRIBUTES;
 }
 
+#if 0
 static BOOL file_has_content(const CHAR *name, const CHAR *content)
 {
     CHAR buf[MAX_PATH];
@@ -130,6 +131,7 @@
     CloseHandle(file);
     return strcmp(buf, content)==0;
 }
+#endif
 
 /* initializes the tests */
 static void init_shfo_tests(void)
@@ -811,6 +813,7 @@
 }
 
 /* tests the FO_COPY action */
+#if 0
 static void test_copy(void)
 {
     SHFILEOPSTRUCTA shfo, shfo2;
@@ -1757,8 +1760,10 @@
     ok(DeleteFileA("dir\\abcdefgh.abc"), "Expected file to exist\n");
     ok(RemoveDirectoryA("dir"), "Expected dir to exist\n");
 }
+#endif
 
 /* tests the FO_MOVE action */
+#if 0
 static void test_move(void)
 {
     SHFILEOPSTRUCTA shfo, shfo2;
@@ -2036,6 +2041,7 @@
             ok(file_exists("test3.txt"), "Expected test3.txt to exist\n");
     }
 }
+#endif
 
 static void test_sh_create_dir(void)
 {




More information about the Ros-diffs mailing list