Rev 2867 | Rev 2894 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
#include <stdio.h>
#include <unistd.h>
#include <thread.h>
#include "../tester.h"
volatile int done;
void t_proc(void *arg)
{
printf("this is 'test' thread [wait for key]\n");
getchar();
done = 1;
}
#include <vfs/vfs.h>
#include <errno.h>
char * test_debug1(bool quiet)
{
int rc;
thread_id_t tid;
done = 0;
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(".");
// }
// printf("done\n");
return NULL;
}