mirror of
https://github.com/winfsp/winfsp.git
synced 2025-07-25 03:53:14 -05:00
tst: winfsp-tests: disable oplock tests on shares
This commit is contained in:
@@ -68,7 +68,7 @@ void oplock_not_granted_dotest(ULONG Flags, PWSTR Prefix)
|
||||
|
||||
void oplock_not_granted_test(void)
|
||||
{
|
||||
if (OptOplock)
|
||||
if (OptShareName || OptOplock)
|
||||
return;
|
||||
|
||||
if (NtfsTests)
|
||||
@@ -85,7 +85,7 @@ void oplock_not_granted_test(void)
|
||||
|
||||
void oplock_tests(void)
|
||||
{
|
||||
if (OptOplock)
|
||||
if (OptShareName || OptOplock)
|
||||
return;
|
||||
|
||||
TEST(oplock_not_granted_test);
|
||||
|
Reference in New Issue
Block a user