13 lines
224 B
C
13 lines
224 B
C
|
/* Tries to open a file with the null pointer as its name.
|
||
|
The process must be terminated with exit code -1. */
|
||
|
|
||
|
#include <stddef.h>
|
||
|
#include <syscall.h>
|
||
|
#include "tests/main.h"
|
||
|
|
||
|
void
|
||
|
test_main (void)
|
||
|
{
|
||
|
open (NULL);
|
||
|
}
|