mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-23 00:43:00 -05:00
tst: winfsp-tests: delete_standby_test: disable portion that fails under a share
This commit is contained in:
parent
14c602ccd8
commit
cf48d19759
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user