1
- diff --git a/Sources/NIOFileSystem /Internal/SystemFileHandle.swift b/Sources/NIOFileSystem /Internal/SystemFileHandle.swift
1
+ diff --git a/Sources/NIOFS /Internal/SystemFileHandle.swift b/Sources/NIOFS /Internal/SystemFileHandle.swift
2
2
index 3dc51872..49aeeeca 100644
3
- --- a/Sources/NIOFileSystem /Internal/SystemFileHandle.swift
4
- +++ b/Sources/NIOFileSystem /Internal/SystemFileHandle.swift
3
+ --- a/Sources/NIOFS /Internal/SystemFileHandle.swift
4
+ +++ b/Sources/NIOFS /Internal/SystemFileHandle.swift
5
5
@@ -1113,7 +1113,7 @@ extension SystemFileHandle {
6
6
let truncate = options.contains(.truncate)
7
7
let delayMaterialization = transactional && isWritable && (exclusiveCreate || truncate)
@@ -11,10 +11,10 @@ index 3dc51872..49aeeeca 100644
11
11
// When opening in this mode we can more "atomically" create the file, that is, by not
12
12
// leaving the user with a half written file should e.g. the system crash or throw an
13
13
// error while writing. On non-Android Linux we do this by opening the directory for
14
- diff --git a/Tests/NIOFileSystemIntegrationTests /BufferedReaderTests.swift b/Tests/NIOFileSystemIntegrationTests /BufferedReaderTests.swift
14
+ diff --git a/Tests/NIOFSIntegrationTests /BufferedReaderTests.swift b/Tests/NIOFSIntegrationTests /BufferedReaderTests.swift
15
15
index 8404e159..151fccc1 100644
16
- --- a/Tests/NIOFileSystemIntegrationTests /BufferedReaderTests.swift
17
- +++ b/Tests/NIOFileSystemIntegrationTests /BufferedReaderTests.swift
16
+ --- a/Tests/NIOFSIntegrationTests /BufferedReaderTests.swift
17
+ +++ b/Tests/NIOFSIntegrationTests /BufferedReaderTests.swift
18
18
@@ -21,7 +21,7 @@ import XCTest
19
19
final class BufferedReaderTests: XCTestCase {
20
20
func testBufferedReaderSizeAndCapacity() async throws {
@@ -33,10 +33,10 @@ index 8404e159..151fccc1 100644
33
33
var reader = handle.bufferedReader(capacity: .bytes(128))
34
34
var buffer = ByteBuffer()
35
35
while true {
36
- diff --git a/Tests/NIOFileSystemIntegrationTests /FileHandleTests.swift b/Tests/NIOFileSystemIntegrationTests /FileHandleTests.swift
36
+ diff --git a/Tests/NIOFSIntegrationTests /FileHandleTests.swift b/Tests/NIOFSIntegrationTests /FileHandleTests.swift
37
37
index c18e2c8e..65872fb9 100644
38
- --- a/Tests/NIOFileSystemIntegrationTests /FileHandleTests.swift
39
- +++ b/Tests/NIOFileSystemIntegrationTests /FileHandleTests.swift
38
+ --- a/Tests/NIOFSIntegrationTests /FileHandleTests.swift
39
+ +++ b/Tests/NIOFSIntegrationTests /FileHandleTests.swift
40
40
@@ -20,9 +20,8 @@ import XCTest
41
41
42
42
@available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
@@ -67,10 +67,10 @@ index c18e2c8e..65872fb9 100644
67
67
68
68
func testOpenExclusiveCreateForFileWhichExistsWithoutOTMPFILEOrRenameat2() async throws {
69
69
// Takes the path where 'O_TMPFILE' doesn't exist, so materializing the file is done via
70
- diff --git a/Tests/NIOFileSystemIntegrationTests /FileSystemTests.swift b/Tests/NIOFileSystemIntegrationTests /FileSystemTests.swift
70
+ diff --git a/Tests/NIOFSIntegrationTests /FileSystemTests.swift b/Tests/NIOFSIntegrationTests /FileSystemTests.swift
71
71
index f24736a7..310d9691 100644
72
- --- a/Tests/NIOFileSystemIntegrationTests /FileSystemTests.swift
73
- +++ b/Tests/NIOFileSystemIntegrationTests /FileSystemTests.swift
72
+ --- a/Tests/NIOFSIntegrationTests /FileSystemTests.swift
73
+ +++ b/Tests/NIOFSIntegrationTests /FileSystemTests.swift
74
74
@@ -19,9 +19,8 @@ import NIOCore
75
75
import XCTest
76
76
@@ -200,10 +200,10 @@ index f24736a7..310d9691 100644
200
200
let info = try await handle.info()
201
201
let size = info.size
202
202
203
- diff --git a/Tests/NIOFileSystemTests /Internal/SyscallTests.swift b/Tests/NIOFileSystemTests /Internal/SyscallTests.swift
203
+ diff --git a/Tests/NIOFSTests /Internal/SyscallTests.swift b/Tests/NIOFSTests /Internal/SyscallTests.swift
204
204
index 66ed1171..5253a650 100644
205
- --- a/Tests/NIOFileSystemTests /Internal/SyscallTests.swift
206
- +++ b/Tests/NIOFileSystemTests /Internal/SyscallTests.swift
205
+ --- a/Tests/NIOFSTests /Internal/SyscallTests.swift
206
+ +++ b/Tests/NIOFSTests /Internal/SyscallTests.swift
207
207
@@ -17,6 +17,10 @@
208
208
import SystemPackage
209
209
import XCTest
0 commit comments