projects
/
pintos-anon
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
4baf7718bdbd0d1a3b162b9a93ef936d0dedca5a
[pintos-anon]
/
create.inc
1
/* -*- c -*- */
2
3
#include <syscall.h>
4
#include "tests/lib.h"
5
#include "tests/main.h"
6
7
static char buf[TEST_SIZE];
8
9
void
10
test_main (void)
11
{
12
const char *file_name = "blargle";
13
CHECK (create (file_name, TEST_SIZE), "create \"%s\"", file_name);
14
check_file (file_name, buf, TEST_SIZE);
15
}