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