tst: winfsp-tests: add --notify option

This commit is contained in:
Bill Zissimopoulos
2020-10-10 14:30:14 -07:00
parent e54c2288f7
commit 1bb0580a6a
5 changed files with 123 additions and 8 deletions

View File

@@ -27,6 +27,7 @@
#include "winfsp-tests.h"
int memfs_running;
HANDLE memfs_handle;
void *memfs_start_ex(ULONG Flags, ULONG FileInfoTimeout)
{
@@ -66,6 +67,7 @@ void *memfs_start_ex(ULONG Flags, ULONG FileInfoTimeout)
ASSERT(NT_SUCCESS(Result));
memfs_running = 1;
memfs_handle = MemfsFileSystem(Memfs)->VolumeHandle;
return Memfs;
}
@@ -77,6 +79,7 @@ void *memfs_start(ULONG Flags)
void memfs_stop(void *data)
{
memfs_handle = 0;
memfs_running = 0;
if (0 == data)