@@ -546,7 +546,6 @@ struct PipeConfigurationTests {
546
546
#expect( result. terminationStatus. isSuccess)
547
547
}
548
548
549
- #if !os(Windows)
550
549
@Test func testProcessStageWithFileDescriptorInput( ) async throws {
551
550
// Create a temporary file with test content
552
551
let tempURL = FileManager . default. temporaryDirectory. appendingPathComponent ( " pipe_test_ \( UUID ( ) . uuidString) .txt " )
@@ -579,10 +578,7 @@ struct PipeConfigurationTests {
579
578
#expect( lineCount == " 3 " ) // head -3 should give us 3 lines
580
579
#expect( result. terminationStatus. isSuccess)
581
580
}
582
- #endif
583
581
584
- // FIXME regular files opened with FileDescriptor.open() aren't opened with overlapped I/O on Windows, so the I/O completion port can't add them.
585
- #if !os(Windows)
586
582
@Test func testSwiftFunctionWithFileDescriptorInput( ) async throws {
587
583
// Create a temporary file with JSON content
588
584
let tempURL = FileManager . default. temporaryDirectory. appendingPathComponent ( " json_test_ \( UUID ( ) . uuidString) .json " )
@@ -635,7 +631,6 @@ struct PipeConfigurationTests {
635
631
#expect( result. standardOutput? . contains ( " Person: Alice, Age: 30, Location: New York " ) == true )
636
632
#expect( result. terminationStatus. isSuccess)
637
633
}
638
- #endif
639
634
640
635
@Test func testComplexPipelineWithStringInputAndSwiftFunction( ) async throws {
641
636
let csvData = " name,score,grade \n Alice,95,A \n Bob,87,B \n Charlie,92,A \n Dave,78,C "
@@ -910,7 +905,6 @@ struct PipeConfigurationTests {
910
905
#expect( result. terminationStatus. isSuccess)
911
906
}
912
907
913
- #if !os(Windows)
914
908
@Test func testMergeErrorRedirection( ) async throws {
915
909
#if os(Windows)
916
910
let config =
@@ -992,7 +986,6 @@ struct PipeConfigurationTests {
992
986
#expect( lineCount == " 1 " )
993
987
#expect( result. terminationStatus. isSuccess)
994
988
}
995
- #endif
996
989
997
990
@Test func testProcessHelperWithErrorRedirection( ) async throws {
998
991
let pipeline =
0 commit comments