tst: winfsp-tests: delete_standby_test: disable portion that fails under a share

This commit is contained in:
Bill Zissimopoulos 2017-02-10 22:19:25 -08:00
parent 14c602ccd8
commit cf48d19759

View File

@ -683,6 +683,8 @@ static void delete_standby_dotest(ULONG Flags, PWSTR Prefix, ULONG FileInfoTimeo
ASSERT(!Success); ASSERT(!Success);
ASSERT(ERROR_FILE_NOT_FOUND == GetLastError()); ASSERT(ERROR_FILE_NOT_FOUND == GetLastError());
if (!OptShareName)
{
Success = CreateDirectoryW(Dir1Path, 0); Success = CreateDirectoryW(Dir1Path, 0);
ASSERT(Success); ASSERT(Success);
@ -730,6 +732,7 @@ static void delete_standby_dotest(ULONG Flags, PWSTR Prefix, ULONG FileInfoTimeo
Success = RemoveDirectoryW(Dir1Path); Success = RemoveDirectoryW(Dir1Path);
ASSERT(!Success); ASSERT(!Success);
ASSERT(ERROR_FILE_NOT_FOUND == GetLastError()); ASSERT(ERROR_FILE_NOT_FOUND == GetLastError());
}
memfs_stop(memfs); memfs_stop(memfs);
} }