Changeset 047aa46 in mainline
- Timestamp:
- 2008-03-26T22:47:55Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e190a89b
- Parents:
- e13daa5d
- Location:
- uspace/app/tester
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/ipc/connect.c
re13daa5d r047aa46 37 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 40 do { 41 41 c = getchar(); 42 if (c == 'Q' || c == 'q') 43 return TEST_SKIPPED; 42 44 } while (c < '0' || c > '9'); 43 45 -
uspace/app/tester/ipc/hangup.c
re13daa5d r047aa46 38 38 int phoneid; 39 39 40 printf("Select phoneid to hangup: 2-9 \n");40 printf("Select phoneid to hangup: 2-9 (Q to skip)\n"); 41 41 do { 42 42 c = getchar(); 43 if (c == 'Q' || c == 'q') 44 return TEST_SKIPPED; 43 45 } while (c < '2' || c > '9'); 44 46 phoneid = c - '0'; -
uspace/app/tester/ipc/send_async.c
re13daa5d r047aa46 42 42 char c; 43 43 44 printf("Select phoneid to send msg: 2-9 \n");44 printf("Select phoneid to send msg: 2-9 (Q to skip)\n"); 45 45 do { 46 46 c = getchar(); 47 if (c == 'Q' || c == 'q') 48 return TEST_SKIPPED; 47 49 } while (c < '2' || c > '9'); 48 50 phoneid = c - '0'; -
uspace/app/tester/ipc/send_sync.c
re13daa5d r047aa46 39 39 char c; 40 40 41 printf("Select phoneid to send msg: 2-9 \n");41 printf("Select phoneid to send msg: 2-9 (Q to skip)\n"); 42 42 do { 43 43 c = getchar(); 44 if (c == 'Q' || c == 'q') 45 return TEST_SKIPPED; 44 46 } while (c < '2' || c > '9'); 45 47 phoneid = c - '0'; -
uspace/app/tester/tester.c
re13daa5d r047aa46 79 79 static void run_safe_tests(void) 80 80 { 81 test_t *test; 82 int i = 0, n = 0; 83 84 printf("\n*** Running all safe tests\n\n"); 85 86 for (test = tests; test->name != NULL; test++) { 87 if (test->safe) { 88 if (run_test(test)) 89 i++; 90 else 91 n++; 92 } 93 } 94 95 printf("\nSafe tests completed, %d tests run, %d passed.\n\n", i + n, i); 81 96 } 82 97 -
uspace/app/tester/tester.h
re13daa5d r047aa46 43 43 #define MAX_PHONES 20 44 44 #define MAX_CONNECTIONS 50 45 #define TEST_SKIPPED "Test Skipped" 45 46 46 47 extern int myservice;
Note:
See TracChangeset
for help on using the changeset viewer.