1
0
mirror of https://github.com/winfsp/winfsp.git synced 2025-10-30 11:38:39 -05:00

tst: winfsp-tests: silo testing

This commit is contained in:
Bill Zissimopoulos
2022-09-28 18:46:17 +01:00
parent a3765d6360
commit 53b44dcb5c
5 changed files with 30 additions and 4 deletions

View File

@@ -158,7 +158,10 @@ static void posix_map_sid_test(void)
CloseHandle(Token);
for (size_t i = 0; sizeof map / sizeof map[0] > i; i++)
size_t n = sizeof map / sizeof map[0];
if (RunningInContainer)
n -= 2; /* container: disable tests for "user manager\containeradministrator" */
for (size_t i = 0; n > i; i++)
{
Success = ConvertStringSidToSidW(map[i].SidStr, &Sid0);
ASSERT(Success);