Skip to content

Commit 76714d2

Browse files
committed
[UtilityTests] Disable all popen related tests
1 parent faaea7c commit 76714d2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Tests/UtilityTests/ShellTests.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,20 @@ class ShellTests: XCTestCase {
2323
}
2424

2525
func testPopenWithBufferLargerThanThatAllocated() {
26+
// FIXME: Disabled due to https://bugs.swift.org/browse/SR-2703
27+
#if false
2628
let path = AbsolutePath(#file).parentDirectory.parentDirectory.appending(components: "GetTests", "VersionGraphTests.swift")
2729
XCTAssertGreaterThan(try! popen(["cat", path.asString]).characters.count, 4096)
30+
#endif
2831
}
2932

3033
func testPopenWithBinaryOutput() {
34+
// FIXME: Disabled due to https://bugs.swift.org/browse/SR-2703
35+
#if false
3136
if (try? popen(["cat", "/bin/cat"])) != nil {
3237
XCTFail("popen succeeded but should have faileds")
3338
}
39+
#endif
3440
}
3541

3642
static var allTests = [

0 commit comments

Comments
 (0)