Changeset b7fd2a0 in mainline for uspace/app/tester
- Timestamp:
- 2018-01-13T03:10:29Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a53ed3a
- Parents:
- 36f0738
- Location:
- uspace/app/tester
- Files:
-
- 7 edited
-
chardev/chardev1.c (modified) (3 diffs)
-
hw/serial/serial1.c (modified) (2 diffs)
-
ipc/ping_pong.c (modified) (1 diff)
-
mm/common.c (modified) (1 diff)
-
mm/mapping1.c (modified) (3 diffs)
-
mm/pager1.c (modified) (1 diff)
-
vfs/vfs1.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/chardev/chardev1.c
r36f0738 rb7fd2a0 47 47 async_sess_t *sess; 48 48 size_t nbytes; 49 int rc;49 errno_t rc; 50 50 51 51 TPRINTF("Test small transfer character device operations\n"); … … 99 99 async_sess_t *sess; 100 100 size_t nbytes; 101 int rc;101 errno_t rc; 102 102 103 103 TPRINTF("Test large transfer character device operations\n"); … … 151 151 async_sess_t *sess; 152 152 size_t nbytes; 153 int rc;153 errno_t rc; 154 154 155 155 TPRINTF("Test partially-successful character device operations\n"); -
uspace/app/tester/hw/serial/serial1.c
r36f0738 rb7fd2a0 56 56 serial_t *serial; 57 57 chardev_t *chardev; 58 int rc;58 errno_t rc; 59 59 size_t nread; 60 60 size_t nwritten; … … 75 75 76 76 service_id_t svc_id; 77 int res = loc_service_get_id("devices/\\hw\\pci0\\00:01.0\\com1\\a",77 errno_t res = loc_service_get_id("devices/\\hw\\pci0\\00:01.0\\com1\\a", 78 78 &svc_id, IPC_FLAG_BLOCKING); 79 79 if (res != EOK) -
uspace/app/tester/ipc/ping_pong.c
r36f0738 rb7fd2a0 55 55 size_t i; 56 56 for (i = 0; i < COUNT_GRANULARITY; i++) { 57 int retval = ns_ping();57 errno_t retval = ns_ping(); 58 58 59 59 if (retval != EOK) { -
uspace/app/tester/mm/common.c
r36f0738 rb7fd2a0 371 371 372 372 /* Free the memory */ 373 int ret = as_area_destroy(area->addr);373 errno_t ret = as_area_destroy(area->addr); 374 374 if (ret != EOK) 375 375 error_flag = true; -
uspace/app/tester/mm/mapping1.c
r36f0738 rb7fd2a0 66 66 verify_mapping((area), (page_count), (expected_rc), #expected_rc) 67 67 68 static bool verify_mapping(void *area, int page_count, int expected_rc,68 static bool verify_mapping(void *area, int page_count, errno_t expected_rc, 69 69 const char *expected_rc_str) 70 70 { … … 73 73 for (i = 0; i < page_count; i++) { 74 74 void *page_start = ((char *) area) + PAGE_SIZE * i; 75 int rc = as_get_physical_mapping(page_start, NULL);75 errno_t rc = as_get_physical_mapping(page_start, NULL); 76 76 if (rc != expected_rc) { 77 77 TPRINTF("as_get_physical_mapping() = %s != %s\n", … … 85 85 const char *test_mapping1(void) 86 86 { 87 int rc;87 errno_t rc; 88 88 89 89 size_t buffer1_len = BUFFER1_PAGES * PAGE_SIZE; -
uspace/app/tester/mm/pager1.c
r36f0738 rb7fd2a0 45 45 { 46 46 size_t nwr; 47 int rc;47 errno_t rc; 48 48 49 49 TPRINTF("Creating temporary file...\n"); -
uspace/app/tester/vfs/vfs1.c
r36f0738 rb7fd2a0 69 69 { 70 70 aoff64_t pos = 0; 71 int rc;71 errno_t rc; 72 72 73 73 rc = vfs_link_path(TEST_DIRECTORY, KIND_DIRECTORY, NULL);
Note:
See TracChangeset
for help on using the changeset viewer.
