Module: wine Branch: refs/heads/master Commit: 6fc50ff37878e24e16c1704d96f11688ecef2570 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=6fc50ff37878e24e16c1704d...
Author: Phil Lodwick Phil.Lodwick@EFI.COM Date: Wed Jun 7 14:08:27 2006 -0500
shell32/tests: Test to make sure we can create a non-nested directory.
---
dlls/shell32/tests/shlfileop.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/dlls/shell32/tests/shlfileop.c b/dlls/shell32/tests/shlfileop.c index c13cfec..a1180fc 100644 --- a/dlls/shell32/tests/shlfileop.c +++ b/dlls/shell32/tests/shlfileop.c @@ -103,6 +103,7 @@ static void clean_after_shfo_tests(void) RemoveDirectoryA("testdir2\test4.txt"); RemoveDirectoryA("testdir2\nested"); RemoveDirectoryA("testdir2"); + RemoveDirectoryA("c:\testdir3"); DeleteFileA("nonexistent\notreal\test2.txt"); RemoveDirectoryA("nonexistent\notreal"); RemoveDirectoryA("nonexistent"); @@ -839,6 +840,9 @@ static void test_sh_create_dir(void)
ret = pSHCreateDirectoryExA(NULL, path, NULL); ok(ERROR_ALREADY_EXISTS == ret, "SHCreateDirectoryEx should fail to create existing directory, ret = %d\n", ret); + + ret = pSHCreateDirectoryExA(NULL, "c:\testdir3", NULL); + ok(file_exists("c:\testdir3"), "The directory is not created\n"); }
START_TEST(shlfileop)