File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 10
10
uses : swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
11
11
with :
12
12
linux_exclude_swift_versions : ' [{"swift_version": "5.8"}]'
13
- # https://github.com/apple/swift-system/issues/223
14
- enable_windows_checks : false
15
13
soundness :
16
14
name : Soundness
17
15
uses : swiftlang/github-workflows/.github/workflows/soundness.yml@main
Original file line number Diff line number Diff line change @@ -174,6 +174,9 @@ final class FileOperationsTestWindows: XCTestCase {
174
174
175
175
/// Test that the umask works properly
176
176
func testUmask( ) throws {
177
+ // See https://learn.microsoft.com/en-us/virtualization/windowscontainers/manage-containers/persistent-storage#permissions
178
+ try XCTSkipIf ( NSUserName ( ) == " ContainerAdministrator " , " containers use a different permission model " )
179
+
177
180
// Default mask should be 0o022
178
181
XCTAssertEqual ( FilePermissions . creationMask, [ . groupWrite, . otherWrite] )
179
182
@@ -205,6 +208,9 @@ final class FileOperationsTestWindows: XCTestCase {
205
208
206
209
/// Test that setting permissions on a file works as expected
207
210
func testPermissions( ) throws {
211
+ // See https://learn.microsoft.com/en-us/virtualization/windowscontainers/manage-containers/persistent-storage#permissions
212
+ try XCTSkipIf ( NSUserName ( ) == " ContainerAdministrator " , " containers use a different permission model " )
213
+
208
214
try FilePermissions . withCreationMask ( [ ] ) {
209
215
try withTemporaryFilePath ( basename: " testPermissions " ) { path in
210
216
let tests = [
You can’t perform that action at this time.
0 commit comments