tst: winfsp-tests: disable query_winfsp_tests over --external

This commit is contained in:
Bill Zissimopoulos 2020-05-25 12:58:20 -07:00
parent a197b99960
commit 6bcbfd5380
No known key found for this signature in database
GPG Key ID: 3D4F95D52C7B3EA3

View File

@ -1959,15 +1959,9 @@ void query_winfsp_dotest(ULONG Flags, PWSTR Prefix, ULONG FileInfoTimeout, BOOLE
void query_winfsp_test(void)
{
if (OptShareName)
if (NtfsTests)
return;
if (NtfsTests)
{
WCHAR DirBuf[MAX_PATH], DriveBuf[3];
GetTestDirectoryAndDrive(DirBuf, DriveBuf);
query_winfsp_dotest(-1, DriveBuf, 0, FALSE);
}
if (WinFspDiskTests)
query_winfsp_dotest(MemfsDisk, 0, 0, TRUE);
if (WinFspNetTests)
@ -1999,6 +1993,6 @@ void info_tests(void)
TEST(rename_pid_test);
TEST(getvolinfo_test);
TEST(setvolinfo_test);
if (!OptShareName)
if (!NtfsTests)
TEST(query_winfsp_test);
}