Lines Matching refs:ASSERT_EQ

202   ASSERT_EQ(req->fs_type, UV_FS_LINK);  in link_cb()
210 ASSERT_EQ(req->fs_type, UV_FS_SYMLINK); in symlink_cb()
217 ASSERT_EQ(req->fs_type, UV_FS_READLINK); in readlink_cb()
228 ASSERT_EQ(req->fs_type, UV_FS_REALPATH); in realpath_cb()
245 ASSERT_EQ(req->fs_type, UV_FS_ACCESS); in access_cb()
252 ASSERT_EQ(req->fs_type, UV_FS_FCHMOD); in fchmod_cb()
261 ASSERT_EQ(req->fs_type, UV_FS_CHMOD); in chmod_cb()
270 ASSERT_EQ(req->fs_type, UV_FS_FCHOWN); in fchown_cb()
278 ASSERT_EQ(req->fs_type, UV_FS_CHOWN); in chown_cb()
285 ASSERT_EQ(req->fs_type, UV_FS_LCHOWN); in lchown_cb()
292 ASSERT_EQ(req->fs_type, UV_FS_CHOWN); in chown_root_cb()
305 ASSERT_EQ(req->result, UV_EINVAL); in chown_root_cb()
313 ASSERT_EQ(req->result, UV_EPERM); in chown_root_cb()
322 ASSERT_EQ(req->fs_type, UV_FS_UNLINK); in unlink_cb()
330 ASSERT_EQ(req->fs_type, UV_FS_FSTAT); in fstat_cb()
332 ASSERT_EQ(s->st_size, sizeof(test_buf)); in fstat_cb()
341 ASSERT_EQ(req->fs_type, UV_FS_STATFS); in statfs_cb()
374 ASSERT_EQ(req->fs_type, UV_FS_CLOSE); in close_cb()
388 ASSERT_EQ(req->fs_type, UV_FS_FTRUNCATE); in ftruncate_cb()
403 ASSERT_EQ(req->fs_type, UV_FS_READ); in read_cb()
422 ASSERT_EQ(req->fs_type, UV_FS_OPEN); in open_cb()
440 ASSERT_EQ(req->fs_type, UV_FS_OPEN); in open_cb_simple()
454 ASSERT_EQ(req->fs_type, UV_FS_FSYNC); in fsync_cb()
466 ASSERT_EQ(req->fs_type, UV_FS_FDATASYNC); in fdatasync_cb()
478 ASSERT_EQ(req->fs_type, UV_FS_WRITE); in write_cb()
490 ASSERT_EQ(req->fs_type, UV_FS_OPEN); in create_cb()
502 ASSERT_EQ(req->fs_type, UV_FS_RENAME); in rename_cb()
511 ASSERT_EQ(req->fs_type, UV_FS_MKDIR); in mkdir_cb()
523 ASSERT_EQ(req->fs_type, UV_FS_MKDTEMP); in check_mkdtemp_result()
526 ASSERT_EQ(15, strlen(req->path)); in check_mkdtemp_result()
549 ASSERT_EQ(req->fs_type, UV_FS_MKSTEMP); in check_mkstemp_result()
552 ASSERT_EQ(16, strlen(req->path)); in check_mkstemp_result()
574 ASSERT_EQ(req->fs_type, UV_FS_RMDIR); in rmdir_cb()
595 ASSERT_EQ(dent.type, UV_DIRENT_FILE); in assert_is_file_type()
600 ASSERT_EQ(dent.type, UV_DIRENT_UNKNOWN); in assert_is_file_type()
608 ASSERT_EQ(req->fs_type, UV_FS_SCANDIR); in scandir_cb()
609 ASSERT_EQ(2, req->result); in scandir_cb()
628 ASSERT_EQ(req->fs_type, UV_FS_SCANDIR); in empty_scandir_cb()
631 ASSERT_EQ(UV_EOF, uv_fs_scandir_next(req, &dent)); in empty_scandir_cb()
640 ASSERT_EQ(req->fs_type, UV_FS_SCANDIR); in non_existent_scandir_cb()
641 ASSERT_EQ(req->result, UV_ENOENT); in non_existent_scandir_cb()
643 ASSERT_EQ(UV_ENOENT, uv_fs_scandir_next(req, &dent)); in non_existent_scandir_cb()
651 ASSERT_EQ(req->fs_type, UV_FS_SCANDIR); in file_scandir_cb()
652 ASSERT_EQ(req->result, UV_ENOTDIR); in file_scandir_cb()
681 ASSERT_EQ(req->fs_type, UV_FS_SENDFILE); in sendfile_cb()
682 ASSERT_EQ(65545, req->result); in sendfile_cb()
690 ASSERT_EQ(req->fs_type, UV_FS_SENDFILE); in sendfile_nodata_cb()
698 ASSERT_EQ(req->fs_type, UV_FS_OPEN); in open_noent_cb()
699 ASSERT_EQ(req->result, UV_ENOENT); in open_noent_cb()
705 ASSERT_EQ(req->fs_type, UV_FS_OPEN); in open_nametoolong_cb()
706 ASSERT_EQ(req->result, UV_ENAMETOOLONG); in open_nametoolong_cb()
712 ASSERT_EQ(req->fs_type, UV_FS_OPEN); in open_loop_cb()
713 ASSERT_EQ(req->result, UV_ELOOP); in open_loop_cb()
726 ASSERT_EQ(r, UV_ENOENT); in TEST_IMPL()
727 ASSERT_EQ(req.result, UV_ENOENT); in TEST_IMPL()
736 ASSERT_EQ(1, open_cb_count); in TEST_IMPL()
755 ASSERT_EQ(r, UV_ENAMETOOLONG); in TEST_IMPL()
756 ASSERT_EQ(req.result, UV_ENAMETOOLONG); in TEST_IMPL()
764 ASSERT_EQ(1, open_cb_count); in TEST_IMPL()
795 ASSERT_EQ(r, UV_ELOOP); in TEST_IMPL()
796 ASSERT_EQ(req.result, UV_ELOOP); in TEST_IMPL()
804 ASSERT_EQ(1, open_cb_count); in TEST_IMPL()
843 ASSERT_EQ(s->st_atim.tv_sec, (long) atime); in check_utime()
845 ASSERT_EQ(s->st_mtim.tv_sec, (long) mtime); in check_utime()
878 ASSERT_EQ(req->fs_type, UV_FS_UTIME); in utime_cb()
893 ASSERT_EQ(req->fs_type, UV_FS_FUTIME); in futime_cb()
907 ASSERT_EQ(req->fs_type, UV_FS_LUTIME); in lutime_cb()
931 ASSERT_EQ(1, create_cb_count); in TEST_IMPL()
932 ASSERT_EQ(1, write_cb_count); in TEST_IMPL()
933 ASSERT_EQ(1, fsync_cb_count); in TEST_IMPL()
934 ASSERT_EQ(1, fdatasync_cb_count); in TEST_IMPL()
935 ASSERT_EQ(1, close_cb_count); in TEST_IMPL()
941 ASSERT_EQ(1, create_cb_count); in TEST_IMPL()
942 ASSERT_EQ(1, write_cb_count); in TEST_IMPL()
943 ASSERT_EQ(1, close_cb_count); in TEST_IMPL()
944 ASSERT_EQ(1, rename_cb_count); in TEST_IMPL()
950 ASSERT_EQ(1, open_cb_count); in TEST_IMPL()
951 ASSERT_EQ(1, read_cb_count); in TEST_IMPL()
952 ASSERT_EQ(2, close_cb_count); in TEST_IMPL()
953 ASSERT_EQ(1, rename_cb_count); in TEST_IMPL()
954 ASSERT_EQ(1, create_cb_count); in TEST_IMPL()
955 ASSERT_EQ(1, write_cb_count); in TEST_IMPL()
956 ASSERT_EQ(1, ftruncate_cb_count); in TEST_IMPL()
962 ASSERT_EQ(2, open_cb_count); in TEST_IMPL()
963 ASSERT_EQ(2, read_cb_count); in TEST_IMPL()
964 ASSERT_EQ(3, close_cb_count); in TEST_IMPL()
965 ASSERT_EQ(1, rename_cb_count); in TEST_IMPL()
966 ASSERT_EQ(1, unlink_cb_count); in TEST_IMPL()
967 ASSERT_EQ(1, create_cb_count); in TEST_IMPL()
968 ASSERT_EQ(1, write_cb_count); in TEST_IMPL()
969 ASSERT_EQ(1, ftruncate_cb_count); in TEST_IMPL()
1088 ASSERT_EQ(r, rmdir_req.result); in TEST_IMPL()
1093 ASSERT_EQ(r, rmdir_req.result); in TEST_IMPL()
1168 ASSERT_EQ(1, mkdir_cb_count); in TEST_IMPL()
1193 ASSERT_EQ(1, scandir_cb_count); in TEST_IMPL()
1197 ASSERT_EQ(2, r); in TEST_IMPL()
1198 ASSERT_EQ(2, scandir_req.result); in TEST_IMPL()
1223 ASSERT_EQ(4, stat_cb_count); in TEST_IMPL()
1228 ASSERT_EQ(1, unlink_cb_count); in TEST_IMPL()
1233 ASSERT_EQ(2, unlink_cb_count); in TEST_IMPL()
1238 ASSERT_EQ(1, rmdir_cb_count); in TEST_IMPL()
1288 ASSERT_EQ(1, sendfile_cb_count); in test_sendfile()
1301 ASSERT_EQ(s2.st_size, expected_size); in test_sendfile()
1315 ASSERT_EQ(buf1[0], 'e'); /* 'e' from begin */ in test_sendfile()
1331 ASSERT_EQ(6, write(f, "begin\n", 6)); in sendfile_setup()
1332 ASSERT_EQ(65542, lseek(f, 65536, SEEK_CUR)); in sendfile_setup()
1333 ASSERT_EQ(4, write(f, "end\n", 4)); in sendfile_setup()
1357 ASSERT_EQ(1, mkdtemp_cb_count); in TEST_IMPL()
1390 ASSERT_EQ(1, mkstemp_cb_count); in TEST_IMPL()
1401 ASSERT_EQ(UV_EINVAL, uv_fs_mkstemp(NULL, &mkstemp_req3, "test_file", NULL)); in TEST_IMPL()
1411 ASSERT_EQ(r, sizeof(test_buf)); in TEST_IMPL()
1412 ASSERT_EQ(req.result, sizeof(test_buf)); in TEST_IMPL()
1481 ASSERT_EQ(s->st_birthtim.tv_sec, t.st_birthtimespec.tv_sec); in TEST_IMPL()
1482 ASSERT_EQ(s->st_birthtim.tv_nsec, t.st_birthtimespec.tv_nsec); in TEST_IMPL()
1496 ASSERT_EQ(r, sizeof(test_buf)); in TEST_IMPL()
1497 ASSERT_EQ(req.result, sizeof(test_buf)); in TEST_IMPL()
1505 ASSERT_EQ(s->st_size, sizeof(test_buf)); in TEST_IMPL()
1511 ASSERT_EQ(s->st_dev, (uint64_t) t.st_dev); in TEST_IMPL()
1512 ASSERT_EQ(s->st_mode, (uint64_t) t.st_mode); in TEST_IMPL()
1513 ASSERT_EQ(s->st_nlink, (uint64_t) t.st_nlink); in TEST_IMPL()
1514 ASSERT_EQ(s->st_uid, (uint64_t) t.st_uid); in TEST_IMPL()
1515 ASSERT_EQ(s->st_gid, (uint64_t) t.st_gid); in TEST_IMPL()
1516 ASSERT_EQ(s->st_rdev, (uint64_t) t.st_rdev); in TEST_IMPL()
1517 ASSERT_EQ(s->st_ino, (uint64_t) t.st_ino); in TEST_IMPL()
1518 ASSERT_EQ(s->st_size, (uint64_t) t.st_size); in TEST_IMPL()
1519 ASSERT_EQ(s->st_blksize, (uint64_t) t.st_blksize); in TEST_IMPL()
1520 ASSERT_EQ(s->st_blocks, (uint64_t) t.st_blocks); in TEST_IMPL()
1522 ASSERT_EQ(s->st_atim.tv_sec, t.st_atimespec.tv_sec); in TEST_IMPL()
1523 ASSERT_EQ(s->st_atim.tv_nsec, t.st_atimespec.tv_nsec); in TEST_IMPL()
1524 ASSERT_EQ(s->st_mtim.tv_sec, t.st_mtimespec.tv_sec); in TEST_IMPL()
1525 ASSERT_EQ(s->st_mtim.tv_nsec, t.st_mtimespec.tv_nsec); in TEST_IMPL()
1526 ASSERT_EQ(s->st_ctim.tv_sec, t.st_ctimespec.tv_sec); in TEST_IMPL()
1527 ASSERT_EQ(s->st_ctim.tv_nsec, t.st_ctimespec.tv_nsec); in TEST_IMPL()
1530 ASSERT_EQ(s->st_atim.tv_sec, t.st_atime); in TEST_IMPL()
1532 ASSERT_EQ(s->st_mtim.tv_sec, t.st_mtime); in TEST_IMPL()
1534 ASSERT_EQ(s->st_ctim.tv_sec, t.st_ctime); in TEST_IMPL()
1537 ASSERT_EQ(s->st_atim.tv_sec, t.st_atime); in TEST_IMPL()
1538 ASSERT_EQ(s->st_atim.tv_nsec, t.st_atimensec); in TEST_IMPL()
1539 ASSERT_EQ(s->st_mtim.tv_sec, t.st_mtime); in TEST_IMPL()
1540 ASSERT_EQ(s->st_mtim.tv_nsec, t.st_mtimensec); in TEST_IMPL()
1541 ASSERT_EQ(s->st_ctim.tv_sec, t.st_ctime); in TEST_IMPL()
1542 ASSERT_EQ(s->st_ctim.tv_nsec, t.st_ctimensec); in TEST_IMPL()
1553 ASSERT_EQ(s->st_atim.tv_sec, t.st_atim.tv_sec); in TEST_IMPL()
1554 ASSERT_EQ(s->st_atim.tv_nsec, t.st_atim.tv_nsec); in TEST_IMPL()
1555 ASSERT_EQ(s->st_mtim.tv_sec, t.st_mtim.tv_sec); in TEST_IMPL()
1556 ASSERT_EQ(s->st_mtim.tv_nsec, t.st_mtim.tv_nsec); in TEST_IMPL()
1557 ASSERT_EQ(s->st_ctim.tv_sec, t.st_ctim.tv_sec); in TEST_IMPL()
1558 ASSERT_EQ(s->st_ctim.tv_nsec, t.st_ctim.tv_nsec); in TEST_IMPL()
1561 ASSERT_EQ(s->st_birthtim.tv_sec, t.st_birthtim.tv_sec); in TEST_IMPL()
1562 ASSERT_EQ(s->st_birthtim.tv_nsec, t.st_birthtim.tv_nsec); in TEST_IMPL()
1565 ASSERT_EQ(s->st_atim.tv_sec, t.st_atime); in TEST_IMPL()
1567 ASSERT_EQ(s->st_mtim.tv_sec, t.st_mtime); in TEST_IMPL()
1569 ASSERT_EQ(s->st_ctim.tv_sec, t.st_ctime); in TEST_IMPL()
1575 ASSERT_EQ(s->st_flags, t.st_flags); in TEST_IMPL()
1576 ASSERT_EQ(s->st_gen, t.st_gen); in TEST_IMPL()
1588 ASSERT_EQ(1, fstat_cb_count); in TEST_IMPL()
1630 ASSERT_EQ(st->st_mode, (ft == UV_TTY ? S_IFCHR : S_IFIFO)); in TEST_IMPL()
1631 ASSERT_EQ(1, st->st_nlink); in TEST_IMPL()
1632 ASSERT_EQ(st->st_rdev, in TEST_IMPL()
1670 ASSERT_EQ(1, access_cb_count); in TEST_IMPL()
1691 ASSERT_EQ(1, access_cb_count); in TEST_IMPL()
1744 ASSERT_EQ(r, sizeof(test_buf)); in TEST_IMPL()
1745 ASSERT_EQ(req.result, sizeof(test_buf)); in TEST_IMPL()
1783 ASSERT_EQ(1, chmod_cb_count); in TEST_IMPL()
1795 ASSERT_EQ(1, chmod_cb_count); in TEST_IMPL()
1805 ASSERT_EQ(1, fchmod_cb_count); in TEST_IMPL()
1844 ASSERT_EQ(r, sizeof(test_buf)); in TEST_IMPL()
1845 ASSERT_EQ(req.result, sizeof(test_buf)); in TEST_IMPL()
1901 ASSERT_EQ(r, sizeof(test_buf)); in TEST_IMPL()
1902 ASSERT_EQ(req.result, sizeof(test_buf)); in TEST_IMPL()
1970 ASSERT_EQ(1, chown_cb_count); in TEST_IMPL()
1978 ASSERT_EQ(1, chown_cb_count); in TEST_IMPL()
1985 ASSERT_EQ(1, fchown_cb_count); in TEST_IMPL()
2005 ASSERT_EQ(1, lchown_cb_count); in TEST_IMPL()
2051 ASSERT_EQ(r, sizeof(test_buf)); in TEST_IMPL()
2052 ASSERT_EQ(req.result, sizeof(test_buf)); in TEST_IMPL()
2082 ASSERT_EQ(1, link_cb_count); in TEST_IMPL()
2123 ASSERT_EQ(1, dummy_cb_count); in TEST_IMPL()
2125 ASSERT_EQ(req.result, UV_ENOENT); in TEST_IMPL()
2128 ASSERT_EQ(UV_ENOENT, uv_fs_readlink(NULL, &req, "no_such_file", NULL)); in TEST_IMPL()
2130 ASSERT_EQ(req.result, UV_ENOENT); in TEST_IMPL()
2157 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
2175 ASSERT_EQ(1, dummy_cb_count); in TEST_IMPL()
2177 ASSERT_EQ(req.result, UV_ENOENT); in TEST_IMPL()
2180 ASSERT_EQ(UV_ENOENT, uv_fs_realpath(NULL, &req, "no_such_file", NULL)); in TEST_IMPL()
2182 ASSERT_EQ(req.result, UV_ENOENT); in TEST_IMPL()
2224 ASSERT_EQ(r, sizeof(test_buf)); in TEST_IMPL()
2225 ASSERT_EQ(req.result, sizeof(test_buf)); in TEST_IMPL()
2304 ASSERT_EQ(1, symlink_cb_count); in TEST_IMPL()
2333 ASSERT_EQ(1, readlink_cb_count); in TEST_IMPL()
2338 ASSERT_EQ(1, realpath_cb_count); in TEST_IMPL()
2415 ASSERT_EQ(((uv_stat_t*)req.ptr)->st_size, strlen(test_dir + 4)); in test_symlink_dir_impl()
2419 ASSERT_EQ(((uv_stat_t*)req.ptr)->st_size, strlen("test_dir_symlink")); in test_symlink_dir_impl()
2421 ASSERT_EQ(((uv_stat_t*)req.ptr)->st_size, strlen(test_dir)); in test_symlink_dir_impl()
2438 ASSERT_EQ(strlen(req.ptr), test_dir_abs_size - 4); in test_symlink_dir_impl()
2464 ASSERT_EQ(2, r); in test_symlink_dir_impl()
2465 ASSERT_EQ(2, scandir_req.result); in test_symlink_dir_impl()
2480 ASSERT_EQ(r, UV_ENOENT); in test_symlink_dir_impl()
2484 ASSERT_EQ(2, r); in test_symlink_dir_impl()
2485 ASSERT_EQ(2, scandir_req.result); in test_symlink_dir_impl()
2591 ASSERT_EQ(1, r); in TEST_IMPL()
2592 ASSERT_EQ(1, scandir_req.result); in TEST_IMPL()
2600 ASSERT_EQ(dent.type, UV_DIRENT_LINK); in TEST_IMPL()
2704 ASSERT_EQ(1, utime_cb_count); in TEST_IMPL()
2740 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
2820 ASSERT_EQ(r, UV_ENOSYS); in TEST_IMPL()
2841 ASSERT_EQ(1, futime_cb_count); in TEST_IMPL()
2899 ASSERT_EQ(r, UV_ENOSYS); in TEST_IMPL()
2904 ASSERT_EQ(1, lutime_cb_count); in TEST_IMPL()
2916 ASSERT_EQ(2, lutime_cb_count); in TEST_IMPL()
2934 ASSERT_EQ(r, UV_ENOENT); in TEST_IMPL()
2935 ASSERT_EQ(req.result, UV_ENOENT); in TEST_IMPL()
2962 ASSERT_EQ(UV_EOF, uv_fs_scandir_next(&req, &dent)); in TEST_IMPL()
2970 ASSERT_EQ(1, scandir_cb_count); in TEST_IMPL()
2996 ASSERT_EQ(r, UV_ENOENT); in TEST_IMPL()
2997 ASSERT_EQ(req.result, UV_ENOENT); in TEST_IMPL()
2999 ASSERT_EQ(UV_ENOENT, uv_fs_scandir_next(&req, &dent)); in TEST_IMPL()
3007 ASSERT_EQ(1, scandir_cb_count); in TEST_IMPL()
3021 ASSERT_EQ(r, UV_ENOTDIR); in TEST_IMPL()
3029 ASSERT_EQ(1, scandir_cb_count); in TEST_IMPL()
3077 ASSERT_EQ(1, open_cb_count); in TEST_IMPL()
3136 ASSERT_EQ(26, r); in fs_file_open_append()
3137 ASSERT_EQ(26, read_req.result); in fs_file_open_append()
3239 ASSERT_EQ(UV_EINVAL, uv_fs_read(NULL, &read_req, open_req1.result, in fs_read_bufs()
3241 ASSERT_EQ(UV_EINVAL, uv_fs_read(NULL, &read_req, open_req1.result, in fs_read_bufs()
3243 ASSERT_EQ(UV_EINVAL, uv_fs_read(NULL, &read_req, open_req1.result, in fs_read_bufs()
3251 ASSERT_EQ(446, uv_fs_read(NULL, in fs_read_bufs()
3258 ASSERT_EQ(446, read_req.result); in fs_read_bufs()
3261 ASSERT_EQ(190, uv_fs_read(NULL, in fs_read_bufs()
3268 ASSERT_EQ(read_req.result, /* 446 - 256 */ 190); in fs_read_bufs()
3396 ASSERT_EQ(read_req.result, sizeof(test_buf) + sizeof(test_buf2)); in fs_write_multiple_bufs()
3417 ASSERT_EQ(read_req.result, sizeof(test_buf2)); in fs_write_multiple_bufs()
3419 ASSERT_EQ(read_req.result, sizeof(test_buf) + sizeof(test_buf2)); in fs_write_multiple_bufs()
3489 ASSERT_EQ((size_t)write_req.result, sizeof(test_buf) * iovcount); in fs_write_alotof_bufs()
3515 ASSERT_EQ((size_t)read_req.result, sizeof(test_buf) * iovcount); in fs_write_alotof_bufs()
3525 ASSERT_EQ(lseek(open_req1.result, write_req.result, SEEK_SET), in fs_write_alotof_bufs()
3593 ASSERT_EQ(r, filler_len); in fs_write_alotof_bufs_with_offset()
3594 ASSERT_EQ(write_req.result, filler_len); in fs_write_alotof_bufs_with_offset()
3609 ASSERT_EQ((size_t)write_req.result, sizeof(test_buf) * iovcount); in fs_write_alotof_bufs_with_offset()
3627 ASSERT_EQ((size_t)read_req.result, sizeof(test_buf) * iovcount); in fs_write_alotof_bufs_with_offset()
3639 ASSERT_EQ((int64_t)((uv_stat_t*)stat_req.ptr)->st_size, in fs_write_alotof_bufs_with_offset()
3682 ASSERT_EQ(1, mkdir_cb_count); in TEST_IMPL()
3712 ASSERT_EQ(r, UV_EISDIR); in TEST_IMPL()
3764 ASSERT_EQ(result, nbytes); in thread_main()
3849 ASSERT_EQ(result, UV_EINTR); in test_fs_partial()
3856 ASSERT_EQ(write_req.result, result); in test_fs_partial()
3857 ASSERT_EQ(result, ctx.size); in test_fs_partial()
3901 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
3907 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
3922 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
3927 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
3934 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
3939 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
3945 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
3951 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
4027 ASSERT_EQ(fd, open_req1.result); in TEST_IMPL()
4058 ASSERT_EQ(r, sizeof(test_buf)); in TEST_IMPL()
4064 ASSERT_EQ(r, sizeof(test_buf)); in TEST_IMPL()
4086 ASSERT_EQ(3, r); in fs_file_pos_common()
4092 ASSERT_EQ(1, r); in fs_file_pos_common()
4093 ASSERT_EQ(buf[0], 'b'); in fs_file_pos_common()
4104 ASSERT_EQ(1, r); in fs_file_pos_common()
4129 ASSERT_EQ(r, size); in fs_file_pos_close_check()
4161 ASSERT_EQ(1, r); in fs_file_pos_write()
4200 ASSERT_EQ(1, r); in fs_file_pos_append()
4205 ASSERT_EQ(1, r); in fs_file_pos_append()
4206 ASSERT_EQ(buf[0], 'e'); in fs_file_pos_append()
4225 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
4228 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
4231 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
4234 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
4237 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
4240 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
4243 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
4246 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
4249 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
4252 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
4255 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
4258 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
4261 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
4264 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
4267 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
4270 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
4273 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
4276 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
4279 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
4282 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
4285 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
4288 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
4291 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
4294 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
4297 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
4300 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
4303 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
4306 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
4309 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
4312 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
4315 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
4413 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
4414 ASSERT_EQ(open_req2.result, UV_EINVAL); in TEST_IMPL()
4565 ASSERT_EQ(r, UV_EINVAL); in TEST_IMPL()
4566 ASSERT_EQ(UV_EINVAL, uv_fs_mkdir(loop, &req, "test:lol", 0, NULL)); in TEST_IMPL()
4582 ASSERT_EQ(1, statfs_cb_count); in TEST_IMPL()
4588 ASSERT_EQ(2, statfs_cb_count); in TEST_IMPL()
4604 ASSERT_EQ(system_error, ERROR_FILE_NOT_FOUND); in TEST_IMPL()
4606 ASSERT_EQ(system_error, ENOENT); in TEST_IMPL()
4631 ASSERT_EQ(stat_cb_count, ARRAY_SIZE(req)); in TEST_IMPL()
4668 ASSERT_EQ(1, r); in TEST_IMPL()
4669 ASSERT_EQ(1, scandir_req.result); in TEST_IMPL()