2012-01-31 10:16:09 +04:00
|
|
|
/* vim:tabstop=4 shiftwidth=4 noexpandtab
|
|
|
|
*
|
|
|
|
* File System Test Suite
|
2012-07-07 08:08:28 +04:00
|
|
|
* (incomplete)
|
2012-01-31 10:16:09 +04:00
|
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <fcntl.h>
|
|
|
|
|
|
|
|
int main(int argc, char ** argv) {
|
|
|
|
printf("= Begin File System Testing =\n");
|
|
|
|
|
|
|
|
int fd = creat("/test.log", S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
|
|
|
|
|
|
|
|
printf("File descriptor generator: %d\n", fd);
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|