projects
/
pintos-anon
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add -O to CFLAGS to try to catch uninitialized variable errors.
[pintos-anon]
/
src
/
tests
/
vm
/
mmap-bad-fd.ck
1
# -*- perl -*-
2
use strict;
3
use warnings;
4
use tests::tests;
5
check_expected ([<<'EOF', <<'EOF']);
6
(mmap-bad-fd) begin
7
(mmap-bad-fd) try to mmap invalid fd
8
(mmap-bad-fd) end
9
mmap-bad-fd: exit(0)
10
EOF
11
(mmap-bad-fd) begin
12
(mmap-bad-fd) try to mmap invalid fd
13
mmap-bad-fd: exit(-1)
14
EOF
15
pass;