projects
/
pintos-anon
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
58661afe50190e673c6585031d06923ac5b24e7d
[pintos-anon]
/
src
/
tests
/
userprog
/
open-missing.c
1
#include <syscall.h>
2
#include "tests/lib.h"
3
#include "tests/main.h"
4
5
void
6
test_main (void)
7
{
8
int handle = open ("no-such-file");
9
if (handle != -1)
10
fail ("open() returned %d", handle);
11
}