Adding a test case for file write/read testing etc.
[akaros.git] / tests / file_test.c
1 #include <stdio.h> 
2 int main() 
3
4         FILE *file; 
5         file = fopen("test.txt","w+b");
6         if (file == NULL)
7                 printf ("Failed to write to file \n");
8         fprintf(file,"%s","hello, world\n"); 
9         fclose(file); 
10 }