Rev 2805 |
Go to most recent revision |
Blame |
Compare with Previous |
Last modification |
View Log
| Download
| RSS feed
#include <stdio.h>
#include <unistd.h>
#include <ipc/ipc.h>
#include "../tester.h"
char * test_debug1(bool quiet)
{
int taskid;
int rc;
int phoneid;
int i;
printf("running debug1 test\n");
taskid = 12;
printf("ipc_connect_task(%d)...\n", taskid
);
rc = ipc_connect_task(taskid);
phoneid = rc;
printf("send IPC_M_DEBUG_BEGIN message\n");
rc = ipc_call_sync_0_0(phoneid, IPC_M_DEBUG_BEGIN);
while (1) {
printf("send IPC_M_DEBUG_GO message\n");
rc = ipc_call_sync_0_0(phoneid, IPC_M_DEBUG_GO);
}
return NULL;
}