mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 16:33:02 -05:00
tst: winfsp-tests: troubleshoot appveyor dirnotify failure
This commit is contained in:
parent
aed134080c
commit
b06e947e0e
@ -230,6 +230,8 @@ static unsigned __stdcall dirnotify_dotest_thread(void *FilePath)
|
|||||||
{
|
{
|
||||||
FspDebugLog(__FUNCTION__ ": \"%S\"\n", FilePath);
|
FspDebugLog(__FUNCTION__ ": \"%S\"\n", FilePath);
|
||||||
|
|
||||||
|
Sleep(1000); /* wait for ReadDirectoryChangesW */
|
||||||
|
|
||||||
HANDLE Handle;
|
HANDLE Handle;
|
||||||
Handle = CreateFileW(FilePath,
|
Handle = CreateFileW(FilePath,
|
||||||
GENERIC_READ | GENERIC_WRITE, 0, 0, CREATE_NEW, FILE_ATTRIBUTE_NORMAL | FILE_FLAG_DELETE_ON_CLOSE, 0);
|
GENERIC_READ | GENERIC_WRITE, 0, 0, CREATE_NEW, FILE_ATTRIBUTE_NORMAL | FILE_FLAG_DELETE_ON_CLOSE, 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user