14 lines
339 B
C
Executable file
14 lines
339 B
C
Executable file
/* Creates a file whose name spans the boundary between two pages.
|
|
This is valid, so it must succeed. */
|
|
|
|
#include <syscall.h>
|
|
#include "tests/userprog/boundary.h"
|
|
#include "tests/lib.h"
|
|
#include "tests/main.h"
|
|
|
|
void
|
|
test_main (void)
|
|
{
|
|
CHECK (open (copy_string_across_boundary ("sample.txt")) > 1,
|
|
"open \"sample.txt\"");
|
|
}
|