Subversion Repositories HelenOS

Rev

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

Rev 2787 Rev 2799
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 (q to skip)\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'))
42
        if (c == 'Q' || c == 'q')
43
            return TEST_SKIPPED;
43
            return TEST_SKIPPED;
44
    } while (c < '0' || c > '9');
44
    } while (c < '0' || c > '9');
45
   
45
   
46
    svc = IPC_TEST_START + c - '0';
46
    svc = IPC_TEST_START + c - '0';
47
    if (svc == myservice)
47
    if (svc == myservice)