00001 /* Tries to open a file with the empty string as its name. */ 00002 00003 #include <syscall.h> 00004 #include "tests/lib.h" 00005 #include "tests/main.h" 00006 00007 void 00008 test_main (void) 00009 { 00010 int handle = open (""); 00011 if (handle != -1) 00012 fail ("open() returned %d instead of -1", handle); 00013 }