Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2876 → Rev 2877

/branches/tracing/uspace/app/tester/debug/debug1.c
12,6 → 12,9
done = 1;
}
 
#include <vfs/vfs.h>
#include <errno.h>
 
char * test_debug1(bool quiet)
{
int rc;
19,15 → 22,20
 
done = 0;
 
printf("running debug1 test\n");
rc = thread_create(t_proc, NULL, "test", &tid);
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(20000000);
// printf(".");
// }
 
printf("done\n");
// printf("done\n");
return NULL;
}