Home
last modified time | relevance | path

Searched refs:ASSERT_LT (Results 1 – 25 of 29) sorted by relevance

12

/system/utest/fs/
A Dtest-dot-dot.c72 ASSERT_LT(openat(foo_fd, "..", O_RDONLY | O_DIRECTORY), 0, ""); in test_dot_dot_server()
75 ASSERT_LT(openat(foo_fd, "bar/../..", O_RDONLY | O_DIRECTORY), 0, ""); in test_dot_dot_server()
78 ASSERT_LT(openat(foo_fd, "../../../../../bar", O_RDONLY | O_DIRECTORY), 0, ""); in test_dot_dot_server()
81 ASSERT_LT(openat(foo_fd, "..", O_RDWR | O_CREAT), 0, ""); in test_dot_dot_server()
82 ASSERT_LT(openat(foo_fd, ".", O_RDWR | O_CREAT), 0, ""); in test_dot_dot_server()
85 ASSERT_LT(mkdirat(foo_fd, "..", 0666), 0, ""); in test_dot_dot_server()
86 ASSERT_LT(mkdirat(foo_fd, ".", 0666), 0, ""); in test_dot_dot_server()
A Dtest-access.cpp102 ASSERT_LT(open(filename, O_RDONLY | O_TRUNC | O_CREAT, 0644), 0); in TestAccessBadflags()
118 ASSERT_LT(fd, 0); in TestAccessDirectory()
121 ASSERT_LT(fd, 0); in TestAccessDirectory()
144 ASSERT_LT(fd, 0); in TestAccessOpath()
159 ASSERT_LT(read(fd, buf, sizeof(buf)), 0); in TestAccessOpath()
161 ASSERT_LT(write(fd, data, datalen), 0); in TestAccessOpath()
163 ASSERT_LT(lseek(fd, 1, SEEK_SET), 0); in TestAccessOpath()
191 ASSERT_LT(write(fd, data, datalen), 0); in TestAccessOpath()
199 ASSERT_LT(futimens(fd, ts), 0); in TestAccessOpath()
204 ASSERT_LT(open(filename, O_PATH | O_DIRECTORY), 0); in TestAccessOpath()
A Dtest-minfs.cpp301 ASSERT_LT(write(med_fd.get(), data, sizeof(data)), 0); in TestFullOperations()
477 ASSERT_LT(current_blocks, original_blocks); in TestUnlinkFail()
/system/utest/fs-host/
A Dtest-basic.cpp30 ASSERT_LT(emu_read(fd1, &buf, 1), 0); in test_basic()
/system/utest/blobfs/
A Dblobfs.cpp1077 ASSERT_LT(write(fd.get(), info->data.get(), 1), 0, in WriteAfterRead()
1082 ASSERT_LT(write(fd.get(), info->data.get(), 1), 0, in WriteAfterRead()
1108 ASSERT_LT(open(info->path, O_RDONLY), 0); in WriteAfterUnlink()
1565 ASSERT_LT(rename(info->path, info->path), 0); in InvalidOps()
1566 ASSERT_LT(truncate(info->path, 0), 0); in InvalidOps()
1567 ASSERT_LT(utime(info->path, nullptr), 0); in InvalidOps()
1593 ASSERT_LT(ftruncate(dirfd.get(), info->size_data), 0); in RootDirectory()
1601 ASSERT_LT(unlink(info->path), 0); in RootDirectory()
2183 ASSERT_LT(total_bytes - used_bytes, kLargeSize); in TestFragmentation()
2283 ASSERT_LT(open(info->path, O_CREAT | O_RDWR), 0); in TestReadOnly()
[all …]
/system/utest/cobalt-client/
A Dmetric_options_test.cpp79 ASSERT_LT(nextafter(options.max_value, 0), 24); in TestMakeExponentialOptionsMaxOnly()
99 ASSERT_LT(nextafter(options.max_value, 0), 40950); in TestMakeExponentialOptionsMaxOnly2()
114 ASSERT_LT(nextafter(options.max_value, 0), 24); in TestMakeExponentialOptionsMinAndMaxOnly()
/system/utest/perftest/
A Dresults-test.cpp14 ASSERT_LT(data_size, buf_size); in FixUpFileBuffer()
/system/ulib/tftp/
A Dtftp-test.cpp376 ASSERT_LT(buf_sz, (int)sizeof(buf), "insufficient space for message"); in test_tftp_receive_request_no_tsize()
429 ASSERT_LT(buf_sz, (int)sizeof(buf), "insufficient space for WRQ message"); in test_tftp_receive_request_send_oack()
518 ASSERT_LT(buf_sz, (int)sizeof(buf), "insufficient space for request"); in test_tftp_receive_request_options()
1018 ASSERT_LT(req_buf_sz, (int)sizeof(req_buf), "insufficient space for WRQ message"); in test_tftp_receive_data()
1067 ASSERT_LT(req_buf_sz, (int)sizeof(req_buf), "insufficient space for WRQ message"); in test_tftp_receive_data_final_block()
1130 ASSERT_LT(req_buf_sz, (int)sizeof(req_buf), "insufficient space for WRQ message"); in test_tftp_receive_data_blocksize()
1180 ASSERT_LT(req_buf_sz, (int)sizeof(req_buf), "insufficient space for WRQ message"); in test_tftp_receive_data_windowsize()
1243 ASSERT_LT(req_buf_sz, (int)sizeof(req_buf), "insufficient space for WRQ message"); in test_tftp_receive_data_skipped_block()
1860 ASSERT_LT(buf_sz, (int)sizeof(buf), "insufficient space for request"); in test_tftp_open_should_wait()
1918 ASSERT_LT(buf_sz, (int)sizeof(buf), "insufficient space for request"); in test_tftp_recv_busy()
[all …]
/system/utest/fs-management/
A Dfs-management.cpp563 ASSERT_LT(fd, 0); in MountReadonly()
568 ASSERT_LT(write(fd, "hello", 6), 0); in MountReadonly()
573 ASSERT_LT(renameat(root_fd, file_name, root_fd, "new_file"), 0); in MountReadonly()
574 ASSERT_LT(unlinkat(root_fd, file_name, 0), 0); in MountReadonly()
610 ASSERT_LT(fd, 0); in MountBlockReadonly()
/system/utest/fvm/
A Dfvm.cpp500 ASSERT_LT(ioctl_block_get_info(fd, &info), 0); in CheckDeadBlock()
558 ASSERT_LT(info.max_transfer_size, metadata_size); in TestLarge()
902 ASSERT_LT(ioctl_block_fvm_extend(vp_fd, &erequest), 0, "Expected request failure"); in TestVPartitionExtend()
908 ASSERT_LT(ioctl_block_fvm_extend(vp_fd, &erequest), 0, "Expected request failure"); in TestVPartitionExtend()
915 ASSERT_LT(ioctl_block_fvm_extend(vp_fd, &erequest), 0, "Expected request failure"); in TestVPartitionExtend()
920 ASSERT_LT(ioctl_block_fvm_extend(vp_fd, &erequest), 0, "Expected request failure"); in TestVPartitionExtend()
925 ASSERT_LT(ioctl_block_fvm_extend(vp_fd, &erequest), 0, "Expected request failure"); in TestVPartitionExtend()
943 ASSERT_LT(ioctl_block_fvm_extend(vp_fd, &erequest), 0, "Expected request failure"); in TestVPartitionExtend()
996 ASSERT_LT(ioctl_block_fvm_extend(vp_fd, &erequest), 0, "Expected request failure"); in TestVPartitionExtendSparse()
1304 ASSERT_LT(ioctl_block_fvm_destroy_partition(blob_fd), 0); in TestVPartitionDestroy()
[all …]
/system/utest/fbl/include/fbl/tests/intrusive_containers/
A Dsequence_container_test_environment.h135 ASSERT_LT(i, OBJ_COUNT, ""); in PushBack()
328 ASSERT_LT(orig_iter_pos, OBJ_COUNT, ""); in DoInsertAfter()
509 ASSERT_LT(i, OBJ_COUNT, ""); in Insert()
567 ASSERT_LT(i, OBJ_COUNT, ""); in DirectInsert()
785 ASSERT_LT(prev_ndx, OBJ_COUNT, ""); in DoSeqReverseIterate()
A Dassociative_container_test_environment.h57 ASSERT_LT(test_obj->value(), OBJ_COUNT, ""); in SetTestObjKeys()
442 ASSERT_LT(replaced->value(), OBJ_COUNT); in DoInsertOrReplace()
/system/utest/core/pthread/
A Dpthread.cpp268 ASSERT_LT(low, here, "reported stack base not below actual SP"); in pthread_getstack_check()
/system/utest/libfzl/
A Dvmo-pool-tests.cpp78 ASSERT_LT(new_buffer_index, kNumVmos); in CheckFillingPool()
/system/utest/region-alloc/
A Dregion-alloc.cpp148 ASSERT_LT(TEST->region, fbl::count_of(ALLOC_BY_SIZE_TESTS)); in ralloc_by_size_test()
A Dregion-alloc-c-api.c167 ASSERT_LT(TEST->region, countof(ALLOC_BY_SIZE_TESTS), ""); in ralloc_by_size_c_api_test()
/system/utest/core/job/
A Djobs.c263 ASSERT_LT(htop - handles, kNumJobs, in max_height_smoke()
/system/utest/devfs/
A Dfidl-tests.cpp156 ASSERT_LT(static_cast<size_t>(wb->ptr[1]), sizeof(wb->name_buf)); in CheckLocalEvent()
/system/utest/memfs/
A Dmemfs-tests.cpp269 ASSERT_LT(openat(dirfd(d), "foo", O_CREAT | O_RDWR), 0); in TestMemfsCloseDuringAccess()
/system/dev/block/ftl/test/
A Dftl-test.cpp174 ASSERT_LT(0, stats.ram_used); in StatsTest()
/system/utest/zxcrypt/
A Dtest-device.cpp101 ASSERT_LT(device_size, SSIZE_MAX); in Create()
/system/ulib/unittest/include/unittest/
A Dunittest.h605 #define ASSERT_LT(lhs, rhs, ...) ASSERT_CMP(<, lhs, rhs, #lhs, #rhs, ##__VA_ARGS__) macro
/system/utest/core/channel/
A Dchannel.c380 ASSERT_LT(msg, multithread_read_num_messages, "???"); in channel_multithread_read()
388 ASSERT_LT(msg, multithread_read_num_messages, "???"); in channel_multithread_read()
/system/utest/core/object-info/
A Dobject-info.cpp348 ASSERT_LT(test_info->num_mappings, 32u); in process_maps_smoke()
701 ASSERT_LT(test_info->num_vmos, 32u); in process_vmos_smoke()
/system/utest/core/process/
A Dprocess.cpp330 ASSERT_LT(num_threads_, kMaxThreads); in CreateThread()

Completed in 68 milliseconds

12