mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 08:23:05 -05:00
tst: winfsp-tests: create_namelen_test: disable test in cases that it cannot work
This commit is contained in:
parent
245bba0a17
commit
c760cf9563
@ -932,8 +932,7 @@ void create_namelen_dotest(ULONG Flags, PWSTR Prefix, PWSTR Drive)
|
||||
|
||||
void create_namelen_test(void)
|
||||
{
|
||||
if (OptShareName)
|
||||
/* This test does not work when going through a share! */
|
||||
if (OptShareName || OptMountPoint)
|
||||
return;
|
||||
|
||||
if (NtfsTests)
|
||||
@ -962,6 +961,6 @@ void create_tests(void)
|
||||
TEST(create_restore_test);
|
||||
TEST(create_share_test);
|
||||
TEST(create_curdir_test);
|
||||
if (!OptShareName)
|
||||
if (!OptShareName && !OptMountPoint)
|
||||
TEST(create_namelen_test);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user