43,26 → 43,33 |
#include <vfs/vfs.h> |
#include <errno.h> |
|
static ipc_call_t call; |
|
char * test_debug1(bool quiet) |
{ |
int rc; |
thread_id_t tid; |
// ipc_call_t call; |
|
done = 0; |
|
getchar(); |
if (mount("tmpfs", "/", "nulldev0") != EOK) |
return "mount() failed.\n"; |
getchar(); |
/* while(1) { |
printf("."); |
ipc_wait_for_call(&call); |
}*/ |
// getchar(); |
// if (mount("tmpfs", "/", "nulldev0") != EOK) |
// return "mount() failed.\n"; |
// getchar(); |
|
// printf("running debug1 test\n"); |
// rc = thread_create(t_proc, NULL, "test", &tid); |
|
//printf("(active) wait for thread 'test'\n"); |
// while (!done) { |
// usleep(20000000); |
// printf("."); |
// } |
while (!done) { |
usleep(1*1000*1000); |
printf("."); |
} |
|
// printf("done\n"); |
return NULL; |