Subversion Repositories HelenOS

Rev

Rev 2635 | Rev 2786 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2635 Rev 2785
Line 34... Line 34...
34
{
34
{
35
    char c;
35
    char c;
36
    int svc;
36
    int svc;
37
    int phid;
37
    int phid;
38
 
38
 
39
    printf("Choose one service: 0:10000....9:10009\n");
39
    printf("Choose one service: 0:10000....9:10009 (Q to skip)\n");
40
    do {
40
    do {
41
        c = getchar();
41
        c = getchar();
-
 
42
        if (c == 'Q' || c == 'q')
-
 
43
            return TEST_SKIPPED;
42
    } while (c < '0' || c > '9');
44
    } while (c < '0' || c > '9');
43
   
45
   
44
    svc = IPC_TEST_START + c - '0';
46
    svc = IPC_TEST_START + c - '0';
45
    if (svc == myservice)
47
    if (svc == myservice)
46
        return "Currently cannot connect to myself, update test";
48
        return "Currently cannot connect to myself, update test";