11 lines
218 B
C
Executable file
11 lines
218 B
C
Executable file
/* Try reading a file in the most normal way. */
|
|
|
|
#include "tests/userprog/sample.inc"
|
|
#include "tests/lib.h"
|
|
#include "tests/main.h"
|
|
|
|
void
|
|
test_main (void)
|
|
{
|
|
check_file ("sample.txt", sample, sizeof sample - 1);
|
|
}
|