summaryrefslogtreecommitdiffstats
path: root/src/tests/vm/mmap-bad-fd.ck
blob: f3f58d577994d2a05bda9396eae9df81d4cd110f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# -*- perl -*-
use strict;
use warnings;
use tests::tests;
check_expected ([<<'EOF', <<'EOF']);
(mmap-bad-fd) begin
(mmap-bad-fd) try to mmap invalid fd
(mmap-bad-fd) end
mmap-bad-fd: exit(0)
EOF
(mmap-bad-fd) begin
(mmap-bad-fd) try to mmap invalid fd
mmap-bad-fd: exit(-1)
EOF
pass;