Home
last modified time | relevance | path

Searched refs:ASSERT_GT (Results 1 – 25 of 65) sorted by relevance

123

/system/utest/fs/
A Dtest-attr.c35 ASSERT_GT(fd1, 0, ""); in test_attr()
67 ASSERT_GT(fd, 0, ""); in test_blksize()
114 ASSERT_GT(nstimespec(statb.st_ctim), now, ""); in test_parent_directory_time()
115 ASSERT_GT(nstimespec(statb.st_mtim), now, ""); in test_parent_directory_time()
121 ASSERT_GT(fd, 0, ""); in test_parent_directory_time()
126 ASSERT_GT(nstimespec(statb.st_mtim), now, ""); in test_parent_directory_time()
129 ASSERT_GT(nstimespec(statb.st_mtim), now, ""); in test_parent_directory_time()
140 ASSERT_GT(nstimespec(statb.st_mtim), now, ""); in test_parent_directory_time()
148 ASSERT_GT(nstimespec(statb.st_mtim), now, ""); in test_parent_directory_time()
156 ASSERT_GT(nstimespec(statb.st_mtim), now, ""); in test_parent_directory_time()
[all …]
A Dtest-basic.c28 ASSERT_GT(fd1, 0, ""); in test_basic()
30 ASSERT_GT(fd2, 0, ""); in test_basic()
39 ASSERT_GT(fd1, 0, ""); in test_basic()
46 ASSERT_GT(fd1, 0, ""); in test_basic()
51 ASSERT_GT(fd1, 0, ""); in test_basic()
57 ASSERT_GT(fd1, 0, ""); in test_basic()
78 ASSERT_GT(fd, 0, ""); in test_unclean_close()
A Dtest-fcntl.cpp22 ASSERT_GT(fd, 0); in TestFcntlAppend()
37 ASSERT_GT(flags, -1, "Fcntl failed"); in TestFcntlAppend()
46 ASSERT_GT(flags, -1, "Fcntl failed"); in TestFcntlAppend()
66 ASSERT_GT(fd, 0); in TestFcntlAccessBits()
79 ASSERT_GT(flags, -1, "Fcntl failed"); in TestFcntlAccessBits()
A Dtest-rename.c36 ASSERT_GT(fd, 0, ""); in test_rename_basic()
49 ASSERT_GT(fd, 0, ""); in test_rename_basic()
61 ASSERT_GT(fd, 0, ""); in test_rename_basic()
100 ASSERT_GT(fd, 0, ""); in test_rename_with_children()
127 ASSERT_GT(fd, 0, ""); in test_rename_with_children()
196 ASSERT_GT(foofd, 0, ""); in test_rename_at()
198 ASSERT_GT(barfd, 0, ""); in test_rename_at()
235 ASSERT_GT(fd, 0, ""); in test_rename_at()
A Dtest-link.c42 ASSERT_GT(fd, 0, ""); in test_link_basic()
57 ASSERT_GT(fd2, 0, ""); in test_link_basic()
70 ASSERT_GT(fd, 0, ""); in test_link_basic()
94 ASSERT_GT(fd, 0, ""); in test_link_count_dirs()
195 ASSERT_GT(fd, 0, ""); in test_link_count_rename()
199 ASSERT_GT(fd2, 0, ""); in test_link_count_rename()
241 ASSERT_GT(fd, 0, ""); in test_link_between_dirs()
253 ASSERT_GT(fd2, 0, ""); in test_link_between_dirs()
264 ASSERT_GT(fd, 0, ""); in test_link_between_dirs()
297 ASSERT_GT(fd, 0, ""); in test_link_errors()
A Dtest-resize.cpp48 ASSERT_GT(fd, 0); in TestUseAllInodes()
88 ASSERT_GT(disk_size, metadata_size * 2); in TestUseAllData()
91 ASSERT_GT(disk_size, minfs::kMinfsMinimumSlices * disk.slice_size); in TestUseAllData()
95 ASSERT_GT(file_count, 0); in TestUseAllData()
107 ASSERT_GT(fd, 0); in TestUseAllData()
A Dtest-persist.cpp52 ASSERT_GT(fd, 0); in TestPersistSimple()
124 ASSERT_GT(fd, 0); in TestPersistWithData()
137 ASSERT_GT(fd, 0); in TestPersistWithData()
191 ASSERT_GT(sprintf(src, "::%c", static_cast<char>('a' + i)), 0); in TestRenameLoop()
200 ASSERT_GT(fd, 0); in TestRenameLoop()
222 ASSERT_GT(sprintf(src, "::%c", static_cast<char>('a' + i)), 0); in TestRenameLoop()
246 ASSERT_GT(sprintf(src, "::%c", static_cast<char>('a' + i)), 0); in TestRenameLoop()
250 ASSERT_GT(sprintf(src, "::%c/target", static_cast<char>('a' + i)), 0); in TestRenameLoop()
252 ASSERT_GT(sprintf(src, "::%c", static_cast<char>('a' + i)), 0); in TestRenameLoop()
A Dtest-unlink.cpp27 ASSERT_GT(fd, 0); in TestUnlinkSimple()
65 ASSERT_GT(fd, 0); in TestUnlinkUseAfterwards()
86 ASSERT_GT(fd1, 0); in TestUnlinkOpenElsewhere()
88 ASSERT_GT(fd2, 0); in TestUnlinkOpenElsewhere()
111 ASSERT_GT(fd, 0); in test_remove()
A Dtest-directory.cpp39 ASSERT_GT(fd, 0); in TestDirectoryFilenameMax()
67 ASSERT_GT(fd, 0); in TestDirectoryLarge()
128 ASSERT_GT(fd, 0); in TestDirectoryCoalesceHelper()
179 ASSERT_GT(dirfd, 0); in TestDirectoryCoalesceLargeRecord()
204 ASSERT_GT(dirfd, 0); in TestDirectoryCoalesceLargeRecord()
241 ASSERT_GT(fd, 0); in TestDirectoryTrailingSlash()
247 ASSERT_GT(fd, 0); in TestDirectoryTrailingSlash()
277 ASSERT_GT(fd, 0); in TestDirectoryReaddir()
281 ASSERT_GT(fd, 0); in TestDirectoryReaddir()
443 ASSERT_GT(fd, 0); in TestDirectoryAfterRmdir()
[all …]
A Dtest-sync.c22 ASSERT_GT(fd, 0, ""); in test_sync()
33 ASSERT_GT(fd, 0, ""); in test_sync()
A Dtest-access.cpp30 ASSERT_GT(fd, 0); in TestAccessReadable()
66 ASSERT_GT(fd, 0); in TestAccessWritable()
98 ASSERT_GT(fd, 0); in TestAccessBadflags()
126 ASSERT_GT(fd, 0); in TestAccessDirectory()
181 ASSERT_GT(flags, -1); in TestAccessOpath()
253 ASSERT_GT((r = fdio_clone_fd(fd, 0, handles, types)), 0); in TestOpathFdcount()
261 ASSERT_GT((r = fdio_clone_fd(fd, 0, handles, types)), 0); in TestOpathFdcount()
A Dtest-clone.cpp24 ASSERT_GT(fd, 0); in TestCloneSimple()
29 ASSERT_GT(r, 0); in TestCloneSimple()
A Dtest-maxfile.cpp47 ASSERT_GT(fd, 0); in test_maxfile()
107 ASSERT_GT(fd, 0); in test_maxfile()
149 ASSERT_GT(fda, 0); in TestZippedMaxfiles()
150 ASSERT_GT(fdb, 0); in TestZippedMaxfiles()
204 ASSERT_GT(fda, 0); in TestZippedMaxfiles()
205 ASSERT_GT(fdb, 0); in TestZippedMaxfiles()
A Dtest-mmap.cpp36 ASSERT_GT(fd, 0); in TestMmapEmpty()
60 ASSERT_GT(fd, 0); in TestMmapReadable()
96 ASSERT_GT(fd, 0); in TestMmapWritable()
148 ASSERT_GT(fd, 0); in TestMmapUnlinked()
183 ASSERT_GT(fd, 0); in TestMmapShared()
194 ASSERT_GT(fd2, 0); in TestMmapShared()
219 ASSERT_GT(fd, 0); in TestMmapShared()
243 ASSERT_GT(fd, 0); in TestMmapPrivate()
296 ASSERT_GT(fd, 0); in TestMmapEvil()
304 ASSERT_GT(fd, 0); in TestMmapEvil()
[all …]
A Dtest-truncate.cpp31 ASSERT_GT(fd, 0); in check_file_contains()
56 ASSERT_GT(fd, 0); in TestTruncateSmall()
62 ASSERT_GT(fd2, 0); in TestTruncateSmall()
130 ASSERT_GT(fd, 0); in checked_truncate()
138 ASSERT_GT(fd, 0); in checked_truncate()
204 ASSERT_GT(fd, 0); in TestTruncateLarge()
270 ASSERT_GT(fd, 0); in TestTruncatePartialBlockSparse()
293 ASSERT_GT(fd, 0); in TestTruncateErrno()
A Dtest-watcher.cpp106 ASSERT_GT(fd, 0); in TestWatcherAdd()
146 ASSERT_GT(fd, 0); in TestWatcherExisting()
149 ASSERT_GT(fd, 0); in TestWatcherExisting()
175 ASSERT_GT(fd, 0); in TestWatcherExisting()
240 ASSERT_GT(fd, 0); in TestWatcherRemoved()
/system/utest/fs-host/
A Dtest-basic.cpp15 ASSERT_GT(fd1, 0); in test_basic()
17 ASSERT_GT(fd2, 0); in test_basic()
23 ASSERT_GT(fd1, 0); in test_basic()
28 ASSERT_GT(fd1, 0); in test_basic()
A Dtest-truncate.cpp19 ASSERT_GT(fd, 0); in check_file_contains()
44 ASSERT_GT(fd, 0); in TestTruncateSmall()
50 ASSERT_GT(fd2, 0); in TestTruncateSmall()
88 ASSERT_GT(fd, 0); in checked_truncate()
96 ASSERT_GT(fd, 0); in checked_truncate()
150 ASSERT_GT(fd, 0); in TestTruncateLarge()
A Dtest-directory.cpp48 ASSERT_GT(fd, 0); in TestDirectoryLarge()
69 ASSERT_GT(fd, 0); in TestDirectoryReaddir()
73 ASSERT_GT(fd, 0); in TestDirectoryReaddir()
/system/utest/fvm/
A Dfvm.cpp528 ASSERT_GT(fd, 0); in TestTooSmall()
592 ASSERT_GT(fd, 0); in TestAllocateOne()
634 ASSERT_GT(fd, 0); in TestAllocateMany()
680 ASSERT_GT(fd, 0); in TestCloseDuringAccess()
750 ASSERT_GT(fd, 0); in TestReleaseDuringAccess()
807 ASSERT_GT(fd, 0); in TestDestroyDuringAccess()
870 ASSERT_GT(fd, 0); in TestVPartitionExtend()
971 ASSERT_GT(fd, 0); in TestVPartitionExtendSparse()
1033 ASSERT_GT(fd, 0); in TestVPartitionShrink()
1135 ASSERT_GT(fd, 0); in TestVPartitionSplit()
[all …]
/system/utest/fs-management/
A Dfs-management.cpp85 ASSERT_GT(fd, 0); in MountUnmountShared()
117 ASSERT_GT(fd, 0); in MountMkdirUnmount()
140 ASSERT_GT(fd, 0); in FmountFunmount()
169 ASSERT_GT(fd, 0); in DoMountEvil()
185 ASSERT_GT(fd, 0); in DoMountEvil()
200 ASSERT_GT(fd, 0); in DoMountEvil()
212 ASSERT_GT(fd, 0); in DoMountEvil()
219 ASSERT_GT(fd, 0); in DoMountEvil()
306 ASSERT_GT(fd, 0); in UmountTestEvil()
465 ASSERT_GT(fd, 0); in MountGetDevice()
[all …]
/system/utest/namespace/
A Dnamespace-test.c44 ASSERT_GT(fd, 0, ""); in namespace_create_test()
77 ASSERT_GT(fd, 0, ""); in namespace_create_test()
78 ASSERT_GT(write(fd, "hello", strlen("hello")), 0, ""); in namespace_create_test()
/system/utest/fdio/
A Dfdio_handle_fd.c31 ASSERT_GT(fd, 0, "fdio_handle_fd() failed"); in close_test()
41 ASSERT_GT(fd, 0, "fdio_handle_fd() failed"); in close_test()
184 ASSERT_GT(r, 0, "failed to transfer fds to handles"); in transfer_fd_test()
213 ASSERT_GT(r, 0, "failed to transfer fds to handles"); in transfer_device_test()
/system/utest/core/clock/
A Dclock.c21 ASSERT_GT(current, zero, "monotonic time should be a positive number of nanoseconds"); in clock_monotonic_test()
/system/utest/core/time/
A Dticks.c15 ASSERT_GT(per_second, 0u, "Invalid ticks per second"); in elapsed_time_using_ticks()

Completed in 34 milliseconds

123