Skip to content

Commit b40754f

Browse files
author
Alex Burka
committed
modify fds-are-cloexec test to open a file that exists
Fixes #35753.
1 parent 4901896 commit b40754f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/run-pass/fds-are-cloexec.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ fn main() {
3434
}
3535

3636
fn parent() {
37-
let file = File::open("Makefile").unwrap();
37+
let file = File::open("src/test/run-pass/fds-are-cloexec.rs").unwrap();
3838
let tcp1 = TcpListener::bind("127.0.0.1:0").unwrap();
3939
let tcp2 = tcp1.try_clone().unwrap();
4040
let addr = tcp1.local_addr().unwrap();

0 commit comments

Comments
 (0)