Home
last modified time | relevance | path

Searched refs:ASSERT_NE (Results 1 – 25 of 144) sorted by relevance

123456

/kernel/linux/linux-5.10/tools/testing/selftests/rtc/
Drtctest.c32 ASSERT_NE(-1, self->fd); in FIXTURE_SETUP()
45 ASSERT_NE(-1, rc); in TEST_F()
67 ASSERT_NE(-1, rc);
74 ASSERT_NE(-1, rc);
97 ASSERT_NE(-1, rc); in TEST_F()
98 ASSERT_NE(0, rc); in TEST_F()
102 ASSERT_NE(-1, rc); in TEST_F()
109 ASSERT_NE(-1, rc); in TEST_F()
121 ASSERT_NE(-1, rc); in TEST_F()
134 ASSERT_NE(-1, rc); in TEST_F()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/vm/
Dhmm-tests.c231 ASSERT_NE(npages, 0); in TEST_F()
235 ASSERT_NE(buffer, NULL); in TEST_F()
240 ASSERT_NE(buffer->mirror, NULL); in TEST_F()
246 ASSERT_NE(buffer->ptr, MAP_FAILED); in TEST_F()
294 ASSERT_NE(npages, 0); in TEST_F()
298 ASSERT_NE(buffer, NULL); in TEST_F()
303 ASSERT_NE(buffer->mirror, NULL); in TEST_F()
309 ASSERT_NE(buffer->ptr, MAP_FAILED); in TEST_F()
353 ASSERT_NE(npages, 0); in TEST_F()
357 ASSERT_NE(buffer, NULL); in TEST_F()
[all …]
/kernel/liteos_a/testsuites/unittest/container/smoke/
DIt_uts_container_008.cpp59 ASSERT_NE(ret, -1); in ItUtsContainer008()
73 ASSERT_NE(ret, -1); in ItUtsContainer008()
77 ASSERT_NE(stack, nullptr); in ItUtsContainer008()
81 ASSERT_NE(pid1, -1); in ItUtsContainer008()
86 ASSERT_NE(ret, 0); in ItUtsContainer008()
95 ASSERT_NE(ret, -1); in ItUtsContainer008()
99 ASSERT_NE(ret, -1); in ItUtsContainer008()
DIt_mnt_container_010.cpp59 ASSERT_NE(ret, -1); in ItMntContainer010()
73 ASSERT_NE(ret, -1); in ItMntContainer010()
77 ASSERT_NE(stack, nullptr); in ItMntContainer010()
81 ASSERT_NE(pid1, -1); in ItMntContainer010()
86 ASSERT_NE(ret, 0); in ItMntContainer010()
95 ASSERT_NE(ret, -1); in ItMntContainer010()
99 ASSERT_NE(ret, -1); in ItMntContainer010()
DIt_net_container_012.cpp59 ASSERT_NE(ret, -1); in ItNetContainer012()
73 ASSERT_NE(ret, -1); in ItNetContainer012()
77 ASSERT_NE(stack, nullptr); in ItNetContainer012()
81 ASSERT_NE(pid1, -1); in ItNetContainer012()
86 ASSERT_NE(ret, 0); in ItNetContainer012()
95 ASSERT_NE(ret, -1); in ItNetContainer012()
99 ASSERT_NE(ret, -1); in ItNetContainer012()
DIt_ipc_container_008.cpp59 ASSERT_NE(ret, -1); in ItIpcContainer008()
73 ASSERT_NE(ret, -1); in ItIpcContainer008()
77 ASSERT_NE(stack, nullptr); in ItIpcContainer008()
81 ASSERT_NE(pid1, -1); in ItIpcContainer008()
86 ASSERT_NE(ret, 0); in ItIpcContainer008()
95 ASSERT_NE(ret, -1); in ItIpcContainer008()
99 ASSERT_NE(ret, -1); in ItIpcContainer008()
DIt_pid_container_033.cpp61 ASSERT_NE(ret, -1); in ItPidContainer033()
75 ASSERT_NE(ret, -1); in ItPidContainer033()
79 ASSERT_NE(stack, nullptr); in ItPidContainer033()
83 ASSERT_NE(pid1, -1); in ItPidContainer033()
88 ASSERT_NE(ret, 0); in ItPidContainer033()
97 ASSERT_NE(ret, -1); in ItPidContainer033()
101 ASSERT_NE(ret, -1); in ItPidContainer033()
DIt_time_container_006.cpp65 ASSERT_NE(ret, -1); in ItTimeContainer006()
79 ASSERT_NE(ret, -1); in ItTimeContainer006()
83 ASSERT_NE(stack, nullptr); in ItTimeContainer006()
87 ASSERT_NE(pid1, -1); in ItTimeContainer006()
92 ASSERT_NE(ret, 0); in ItTimeContainer006()
101 ASSERT_NE(ret, -1); in ItTimeContainer006()
105 ASSERT_NE(ret, -1); in ItTimeContainer006()
DIt_user_container_007.cpp59 ASSERT_NE(ret, -1); in ItUserContainer007()
73 ASSERT_NE(ret, -1); in ItUserContainer007()
77 ASSERT_NE(stack, nullptr); in ItUserContainer007()
81 ASSERT_NE(pid1, -1); in ItUserContainer007()
86 ASSERT_NE(ret, 0); in ItUserContainer007()
95 ASSERT_NE(ret, -1); in ItUserContainer007()
99 ASSERT_NE(ret, -1); in ItUserContainer007()
DIt_pid_container_032.cpp57 ASSERT_NE(ret, -1); in ItPidContainer032()
71 ASSERT_NE(ret, -1); in ItPidContainer032()
75 ASSERT_NE(stack, nullptr); in ItPidContainer032()
79 ASSERT_NE(pid1, -1); in ItPidContainer032()
92 ASSERT_NE(ret, -1); in ItPidContainer032()
96 ASSERT_NE(ret, -1); in ItPidContainer032()
DIt_net_container_011.cpp55 ASSERT_NE(ret, -1); in ItNetContainer011()
69 ASSERT_NE(ret, -1); in ItNetContainer011()
73 ASSERT_NE(stack, nullptr); in ItNetContainer011()
77 ASSERT_NE(pid1, -1); in ItNetContainer011()
90 ASSERT_NE(ret, -1); in ItNetContainer011()
94 ASSERT_NE(ret, -1); in ItNetContainer011()
DIt_ipc_container_007.cpp55 ASSERT_NE(ret, -1); in ItIpcContainer007()
69 ASSERT_NE(ret, -1); in ItIpcContainer007()
73 ASSERT_NE(stack, nullptr); in ItIpcContainer007()
77 ASSERT_NE(pid1, -1); in ItIpcContainer007()
90 ASSERT_NE(ret, -1); in ItIpcContainer007()
94 ASSERT_NE(ret, -1); in ItIpcContainer007()
DIt_user_container_006.cpp55 ASSERT_NE(ret, -1); in ItUserContainer006()
69 ASSERT_NE(ret, -1); in ItUserContainer006()
73 ASSERT_NE(stack, nullptr); in ItUserContainer006()
77 ASSERT_NE(pid1, -1); in ItUserContainer006()
90 ASSERT_NE(ret, -1); in ItUserContainer006()
94 ASSERT_NE(ret, -1); in ItUserContainer006()
DIt_uts_container_007.cpp55 ASSERT_NE(ret, -1); in ItUtsContainer007()
69 ASSERT_NE(ret, -1); in ItUtsContainer007()
73 ASSERT_NE(stack, nullptr); in ItUtsContainer007()
77 ASSERT_NE(pid1, -1); in ItUtsContainer007()
90 ASSERT_NE(ret, -1); in ItUtsContainer007()
94 ASSERT_NE(ret, -1); in ItUtsContainer007()
DIt_mnt_container_009.cpp55 ASSERT_NE(ret, -1); in ItMntContainer009()
69 ASSERT_NE(ret, -1); in ItMntContainer009()
73 ASSERT_NE(stack, nullptr); in ItMntContainer009()
77 ASSERT_NE(pid1, -1); in ItMntContainer009()
90 ASSERT_NE(ret, -1); in ItMntContainer009()
94 ASSERT_NE(ret, -1); in ItMntContainer009()
DIt_mnt_container_004.cpp65 ASSERT_NE(stack, MAP_FAILED); in ItMntContainer004()
72 ASSERT_NE(pid, -1); in ItMntContainer004()
78 ASSERT_NE(ret, 0); in ItMntContainer004()
84 ASSERT_NE(ret, 0); in ItMntContainer004()
87 ASSERT_NE(ret, 0); in ItMntContainer004()
DIt_mnt_container_007.cpp74 ASSERT_NE(stack, MAP_FAILED); in ItMntContainer007()
81 ASSERT_NE(pid, -1); in ItMntContainer007()
87 ASSERT_NE(ret, 0); in ItMntContainer007()
93 ASSERT_NE(ret, 0); in ItMntContainer007()
96 ASSERT_NE(ret, 0); in ItMntContainer007()
DIt_ipc_container_002.cpp87 ASSERT_NE(stack, nullptr); in ItIpcContainer002()
105 ASSERT_NE(mqueue, (mqd_t)-1); in ItIpcContainer002()
128 ASSERT_NE(childPid, -1); in ItIpcContainer002()
135 ASSERT_NE(fd, -1); in ItIpcContainer002()
138 ASSERT_NE(ret, -1); in ItIpcContainer002()
141 ASSERT_NE(ret, -1); in ItIpcContainer002()
147 ASSERT_NE(ret, 0); in ItIpcContainer002()
DIt_container_chroot_001.cpp80 ASSERT_NE(stack, MAP_FAILED); in ItContainerChroot001()
87 ASSERT_NE(pid, -1); in ItContainerChroot001()
93 ASSERT_NE(ret, 0); in ItContainerChroot001()
99 ASSERT_NE(ret, 0); in ItContainerChroot001()
102 ASSERT_NE(ret, 0); in ItContainerChroot001()
DIt_ipc_container_004.cpp160 ASSERT_NE(stack, nullptr); in ItIpcContainer004()
165 ASSERT_NE(shmid, -1); in ItIpcContainer004()
168 ASSERT_NE((int)shm, -1); in ItIpcContainer004()
175 ASSERT_NE(pid, -1); in ItIpcContainer004()
181 ASSERT_NE(ret, 0); in ItIpcContainer004()
195 ASSERT_NE(ret, -1); in ItIpcContainer004()
196 ASSERT_NE(ret, 0); in ItIpcContainer004()
213 ASSERT_NE(ret, -1); in ItIpcContainer004()
DIt_mnt_container_001.cpp71 ASSERT_NE(stack, MAP_FAILED); in ItMntContainer001()
78 ASSERT_NE(pid, -1); in ItMntContainer001()
84 ASSERT_NE(ret, 0); in ItMntContainer001()
90 ASSERT_NE(ret, 0); in ItMntContainer001()
/kernel/liteos_a/testsuites/unittest/process/plimits/smoke/
DIt_process_plimits_pid_003.cpp61 ASSERT_NE(ret, -1); in ItProcessPlimitsPid003()
64 ASSERT_NE(ret, -1); in ItProcessPlimitsPid003()
70 ASSERT_NE(ret, 0); in ItProcessPlimitsPid003()
73 ASSERT_NE(ret, 0); in ItProcessPlimitsPid003()
76 ASSERT_NE(ret, 0); in ItProcessPlimitsPid003()
DIt_process_plimits_ipc_010.cpp69 ASSERT_NE(ret, -1); in ItProcessPlimitsIpc010()
72 ASSERT_NE(shmid, -1); in ItProcessPlimitsIpc010()
87 ASSERT_NE(shared, (void *)-1); in ItProcessPlimitsIpc010()
90 ASSERT_NE(ret, -1); in ItProcessPlimitsIpc010()
93 ASSERT_NE(ret, -1); in ItProcessPlimitsIpc010()
DIt_process_plimits_ipc_009.cpp62 ASSERT_NE(shmid, -1); in ItProcessPlimitsIpc009()
64 ASSERT_NE(shared, (void *)-1); in ItProcessPlimitsIpc009()
66 ASSERT_NE(ret, -1); in ItProcessPlimitsIpc009()
68 ASSERT_NE(ret, -1); in ItProcessPlimitsIpc009()
/kernel/linux/build/test/unittest/accesstokenid/
Daccesstokenid_test.cpp238 ASSERT_NE(0, token);
313 ASSERT_NE(tinfo.ftokenid, ftokenSet);
354 ASSERT_NE(tinfo.tokenid, tokenSet);
355 ASSERT_NE(tinfo.ftokenid, ftokenSet);
356 ASSERT_NE(0, tinfo.ftokenid);
377 ASSERT_NE(0, ret);
397 ASSERT_NE(0, ret);
417 ASSERT_NE(0, ret);
437 ASSERT_NE(0, ret);
460 ASSERT_NE(0, ret1);
[all …]

123456