mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-23 00:43:00 -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)
|
void create_namelen_test(void)
|
||||||
{
|
{
|
||||||
if (OptShareName)
|
if (OptShareName || OptMountPoint)
|
||||||
/* This test does not work when going through a share! */
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (NtfsTests)
|
if (NtfsTests)
|
||||||
@ -962,6 +961,6 @@ void create_tests(void)
|
|||||||
TEST(create_restore_test);
|
TEST(create_restore_test);
|
||||||
TEST(create_share_test);
|
TEST(create_share_test);
|
||||||
TEST(create_curdir_test);
|
TEST(create_curdir_test);
|
||||||
if (!OptShareName)
|
if (!OptShareName && !OptMountPoint)
|
||||||
TEST(create_namelen_test);
|
TEST(create_namelen_test);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user