Home
last modified time | relevance | path

Searched refs:expected_fd (Results 1 – 2 of 2) sorted by relevance

/openbsd/regress/lib/libpthread/blocked_fifo/
H A Dblocked_fifo.c36 int free_fd, expected_fd; variable
76 CHECKe(dup2(fd, expected_fd)); in fifo_closer()
78 CHECKe(close(expected_fd)); in fifo_closer()
129 expected_fd = dup(free_fd); in main()
130 close(expected_fd); in main()
135 ASSERT(fd == expected_fd); in main()
/openbsd/gnu/usr.bin/perl/t/run/
H A Dcloexec.t84 my $expected_fd = shift;
86 my $cmd = qq{$Perl -e $quote$Child_prog$quote $expected_fd};
100 is( $out, "childfd=$expected_fd\n", 'child stdout: fd' );
104 my $expected_fd = shift;
106 my $cmd = qq{$Perl -e $quote$Child_prog$quote $expected_fd};
110 "child return code=$rc (zero means inherited fd=$expected_fd ok)" );
114 is( $lines[0], "childfd=$expected_fd\n", 'child stdout: fd' );