13 references to TestPosixAcl
Aspire.Cli.Tests (13)
Agents\AgentConfigurationTests.cs (10)
408
TestPosixAcl
.SetDefault(_context.Project.FullName, "user::rwx,user:65534:r-x,group::---,mask::r-x,other::---");
409
acl =
TestPosixAcl
.Get(path);
420
Assert.Equal(acl,
TestPosixAcl
.Get(path));
437
TestPosixAcl
.Set(path, "user::rw-,user:65534:r--,group::---,mask::r--,other::---");
438
var before =
TestPosixAcl
.Get(path);
446
Assert.Equal(before,
TestPosixAcl
.Get(path));
466
TestPosixAcl
.Set(path, "user::rw-,user:65534:r--,group::---,mask::r--,other::---");
486
TestPosixAcl
.Set(path, restrictedAcl);
487
expectedAcl =
TestPosixAcl
.Get(path);
510
Assert.Equal(expectedAcl,
TestPosixAcl
.Get(path));
Configuration\ConfigurationServiceTests.cs (3)
97
TestPosixAcl
.Set(path, "user::rw-,user:65534:r--,group::---,mask::r--,other::---");
98
var acl =
TestPosixAcl
.Get(path);
121
Assert.Equal(acl,
TestPosixAcl
.Get(path));