/openbmc/linux/tools/testing/selftests/net/ |
H A D | ip_local_port_range.c | 196 ASSERT_TRUE(!err) TH_LOG("close failed"); in TEST_F() 232 ASSERT_TRUE(!err) TH_LOG("#%d: bind failed", i); in TEST_F() 278 ASSERT_TRUE(!err) TH_LOG("bind failed"); in TEST_F() 284 ASSERT_TRUE(!err) TH_LOG("close failed"); in TEST_F() 305 ASSERT_TRUE(!err) TH_LOG("bind failed"); in TEST_F() 327 ASSERT_TRUE(err) TH_LOG("expected bind to fail"); in TEST_F() 331 ASSERT_TRUE(!err) TH_LOG("close failed"); in TEST_F() 335 ASSERT_TRUE(!err) TH_LOG("close failed"); in TEST_F() 366 ASSERT_TRUE(!err) TH_LOG("bind failed"); in TEST_F() 398 ASSERT_TRUE(!err) TH_LOG("close failed"); in TEST_F() [all …]
|
/openbmc/linux/tools/testing/selftests/ptrace/ |
H A D | get_syscall_info.c | 141 ASSERT_TRUE(WIFSTOPPED(status)) { in TEST() 166 ASSERT_TRUE(info.arch) { in TEST() 169 ASSERT_TRUE(info.instruction_pointer) { in TEST() 172 ASSERT_TRUE(info.stack_pointer) { in TEST() 194 ASSERT_TRUE(info.arch) { in TEST() 197 ASSERT_TRUE(info.instruction_pointer) { in TEST() 200 ASSERT_TRUE(info.stack_pointer) { in TEST() 234 ASSERT_TRUE(info.arch) { in TEST() 237 ASSERT_TRUE(info.instruction_pointer) { in TEST() 240 ASSERT_TRUE(info.stack_pointer) { in TEST()
|
/openbmc/bmcweb/test/redfish-core/lib/ |
H A D | update_service_test.cpp | 23 ASSERT_TRUE(ret); in TEST() 36 ASSERT_TRUE(ret); in TEST() 49 ASSERT_TRUE(ret); in TEST() 67 ASSERT_TRUE(ret); in TEST() 80 ASSERT_TRUE(ret); in TEST() 93 ASSERT_TRUE(ret); in TEST() 106 ASSERT_TRUE(ret); in TEST() 119 ASSERT_TRUE(ret); in TEST()
|
/openbmc/openpower-hw-diags/test/ |
H A D | test-bin-stream.cpp | 46 ASSERT_TRUE(w.good()); in TEST() 49 ASSERT_TRUE(w.good()); in TEST() 60 ASSERT_TRUE(r.good()); in TEST() 63 ASSERT_TRUE(r.good()); in TEST()
|
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/ |
H A D | firmware_state_updatepending_unittest.cpp | 146 ASSERT_TRUE(handler->canHandleBlob(activeImageBlobId)); in TEST_F() 155 ASSERT_TRUE(handler->canHandleBlob(updateBlobId)); in TEST_F() 167 ASSERT_TRUE(handler->canHandleBlob(blob)); in TEST_F() 243 ASSERT_TRUE(handler->canHandleBlob(updateBlobId)); in TEST_F() 257 ASSERT_TRUE(handler->canHandleBlob(activeImageBlobId)); in TEST_F() 271 ASSERT_TRUE(handler->canHandleBlob(staticLayoutBlobId)); in TEST_F() 285 ASSERT_TRUE(handler->canHandleBlob(hashBlobId)); in TEST_F() 302 ASSERT_TRUE(handler->expire(session)); in TEST_F()
|
H A D | firmware_state_verificationpending_unittest.cpp | 77 ASSERT_TRUE(handler->canHandleBlob(verifyBlobId)); in TEST_F() 92 ASSERT_TRUE(handler->canHandleBlob(activeImageBlobId)); in TEST_F() 107 ASSERT_TRUE(handler->canHandleBlob(staticLayoutBlobId)); in TEST_F() 122 ASSERT_TRUE(handler->canHandleBlob(hashBlobId)); in TEST_F() 155 ASSERT_TRUE(handler->canHandleBlob(activeImageBlobId)); in TEST_F() 164 ASSERT_TRUE(handler->canHandleBlob(activeHashBlobId)); in TEST_F() 174 ASSERT_TRUE(handler->canHandleBlob(verifyBlobId)); in TEST_F() 197 ASSERT_TRUE(handler->canHandleBlob(blob)); in TEST_F()
|
H A D | firmware_state_updatestarted_unittest.cpp | 95 ASSERT_TRUE(handler->canHandleBlob(activeImageBlobId)); in TEST_F() 105 ASSERT_TRUE(handler->canHandleBlob(updateBlobId)); in TEST_F() 118 ASSERT_TRUE(handler->canHandleBlob(blob)); in TEST_F() 248 ASSERT_TRUE(handler->expire(session)); in TEST_F()
|
H A D | firmware_state_updatecompleted_unittest.cpp | 104 ASSERT_TRUE(handler->canHandleBlob(activeImageBlobId)); in TEST_F() 114 ASSERT_TRUE(handler->canHandleBlob(updateBlobId)); in TEST_F() 127 ASSERT_TRUE(handler->canHandleBlob(blob)); in TEST_F() 255 ASSERT_TRUE(handler->expire(session)); in TEST_F()
|
H A D | firmware_state_verificationcompleted_unittest.cpp | 105 ASSERT_TRUE(handler->canHandleBlob(activeImageBlobId)); in TEST_F() 131 ASSERT_TRUE(handler->canHandleBlob(verifyBlobId)); in TEST_F() 145 ASSERT_TRUE(handler->canHandleBlob(blob)); in TEST_F() 317 ASSERT_TRUE(handler->expire(session)); in TEST_F()
|
H A D | firmware_state_verificationstarted_unittest.cpp | 167 ASSERT_TRUE(handler->canHandleBlob(activeImageBlobId)); in TEST_F() 176 ASSERT_TRUE(handler->canHandleBlob(activeHashBlobId)); in TEST_F() 186 ASSERT_TRUE(handler->canHandleBlob(verifyBlobId)); in TEST_F() 199 ASSERT_TRUE(handler->canHandleBlob(blob)); in TEST_F()
|
/openbmc/telemetry/tests/src/ |
H A D | test_sensor.cpp | 80 ASSERT_TRUE(DbusEnvironment::waitForFuture("async_read")); in TEST_F() 96 ASSERT_TRUE(DbusEnvironment::waitForFuture("async_read")); in TEST_F() 97 ASSERT_TRUE(DbusEnvironment::waitForFuture("async_read2")); in TEST_F() 136 ASSERT_TRUE(DbusEnvironment::waitForFuture("async_read")); in SetUp() 147 ASSERT_TRUE(DbusEnvironment::waitForFuture("notify")); in TEST_F() 158 ASSERT_TRUE(DbusEnvironment::waitForFuture("notify")); in TEST_F() 173 ASSERT_TRUE(DbusEnvironment::waitForFuture("notify")); in TEST_F() 196 ASSERT_TRUE(DbusEnvironment::waitForFuture("notify")); in TEST_F()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | time_tai.c | 66 ASSERT_TRUE(now > ts1, "tai_future_ts1"); in test_time_tai() 67 ASSERT_TRUE(now > ts2, "tai_future_ts2"); in test_time_tai() 70 ASSERT_TRUE(now - ts1 < TAI_THRESHOLD, "tai_range_ts1"); in test_time_tai() 71 ASSERT_TRUE(now - ts2 < TAI_THRESHOLD, "tai_range_ts2"); in test_time_tai()
|
H A D | core_kern.c | 22 ASSERT_TRUE(skel->bss->proto_out[0], "bpf_core_type_exists"); in test_core_kern_lskel() 24 ASSERT_TRUE(skel->bss->proto_out[2], "bpf_core_type_exists. nested"); in test_core_kern_lskel()
|
H A D | autoattach.c | 17 ASSERT_TRUE(bpf_program__autoattach(skel->progs.prog1), "autoattach_prog1"); in test_autoattach() 24 ASSERT_TRUE(skel->bss->prog1_called, "attached_prog1"); in test_autoattach()
|
H A D | custom_sec_handlers.c | 163 ASSERT_TRUE(skel->bss->abc2_called, "abc2_called"); in test_custom_sec_handlers() 164 ASSERT_TRUE(skel->bss->custom1_called, "custom1_called"); in test_custom_sec_handlers() 165 ASSERT_TRUE(skel->bss->custom2_called, "custom2_called"); in test_custom_sec_handlers()
|
H A D | decap_sanity.c | 65 ASSERT_TRUE(skel->bss->init_csum_partial, "init_csum_partial"); in test_decap_sanity() 66 ASSERT_TRUE(skel->bss->final_csum_none, "final_csum_none"); in test_decap_sanity()
|
/openbmc/phosphor-objmgr/src/test/ |
H A D | handler.cpp | 144 ASSERT_TRUE(ancestors.empty()); in TEST_F() 218 ASSERT_TRUE(subtree.empty()); in TEST_F() 278 ASSERT_TRUE(subtreePath.empty()); in TEST_F() 323 ASSERT_TRUE( in TEST_F() 392 ASSERT_TRUE(getAssociatedSubTreePaths(interfaceMap, associationMap, in TEST_F() 398 ASSERT_TRUE( in TEST_F() 469 ASSERT_TRUE(getAssociatedSubTreeById(interfaceMap, associationMap, in TEST_F() 524 ASSERT_TRUE(getAssociatedSubTreePathsById( in TEST_F() 530 ASSERT_TRUE(getAssociatedSubTreePathsById( in TEST_F() 536 ASSERT_TRUE(getAssociatedSubTreePathsById( in TEST_F() [all …]
|
/openbmc/bmcweb/test/redfish-core/include/utils/ |
H A D | query_param_test.cpp | 359 ASSERT_TRUE(ret); in TEST() 362 ASSERT_TRUE(query); in TEST() 514 ASSERT_TRUE(ret); in TEST() 533 ASSERT_TRUE(ret); in TEST() 561 ASSERT_TRUE(ret); in TEST() 581 ASSERT_TRUE(ret); in TEST() 592 ASSERT_TRUE(ret); in TEST() 606 ASSERT_TRUE(ret); in TEST() 622 ASSERT_TRUE(ret); in TEST() 633 ASSERT_TRUE(ret); in TEST() [all …]
|
H A D | json_utils_test.cpp | 77 ASSERT_TRUE(readJson(jsonRequest, res, "nullval", str)); in TEST() 90 ASSERT_TRUE(readJson(jsonRequest, res, "stringval", str)); in TEST() 93 ASSERT_TRUE(std::holds_alternative<std::string>(str)); in TEST() 167 ASSERT_TRUE(readJson(jsonRequest, res, "TestJson", jsonVec)); in TEST() 184 ASSERT_TRUE(readJson(jsonRequest, res, "json/integer", integer)); in TEST() 224 ASSERT_TRUE(readJson(jsonRequest, res, "json/integer", integer, in TEST() 262 ASSERT_TRUE(readJson(jsonRequest, res, "missing_integer", integer, in TEST() 327 ASSERT_TRUE(readJsonPatch(req, res, "integer", integer)); in TEST() 355 ASSERT_TRUE(readJsonPatch(req, res, "integer", integer)); in TEST() 404 ASSERT_TRUE(readJsonAction(req, res, "integer", integer)); in TEST() [all …]
|
/openbmc/phosphor-host-ipmid/test/message/ |
H A D | unpack.cpp | 29 ASSERT_TRUE(p.fullyUnpacked()); in TEST() 70 ASSERT_TRUE(p.fullyUnpacked()); in TEST() 111 ASSERT_TRUE(p.fullyUnpacked()); in TEST() 152 ASSERT_TRUE(p.fullyUnpacked()); in TEST() 194 ASSERT_TRUE(p.fullyUnpacked()); in TEST() 238 ASSERT_TRUE(p.fullyUnpacked()); in TEST() 293 ASSERT_TRUE(p.fullyUnpacked()); in TEST() 368 ASSERT_TRUE(p.fullyUnpacked()); in TEST() 417 ASSERT_TRUE(p.fullyUnpacked()); in TEST() 472 ASSERT_TRUE(p.fullyUnpacked()); in TEST() [all …]
|
/openbmc/sdbusplus/test/ |
H A D | unpack_properties.cpp | 151 ASSERT_TRUE(val1 && val2 && val3); in TYPED_TEST() 152 ASSERT_TRUE(!val4); in TYPED_TEST() 181 ASSERT_TRUE(error); in TYPED_TEST() 199 ASSERT_TRUE(error); in TYPED_TEST() 215 ASSERT_TRUE(error); in TYPED_TEST() 240 ASSERT_TRUE(badProperty); in TYPED_TEST() 256 ASSERT_TRUE(badProperty); in TYPED_TEST() 271 ASSERT_TRUE(badProperty); in TYPED_TEST()
|
/openbmc/sdbusplus/test/utility/ |
H A D | type_traits.cpp | 89 ASSERT_TRUE(is_optional<std::optional<int>>::value); in TEST() 90 ASSERT_TRUE(is_optional<std::optional<int>&>::value); in TEST() 93 ASSERT_TRUE(is_optional_v<std::optional<int>>); in TEST() 94 ASSERT_TRUE(is_optional_v<std::optional<int>&>); in TEST()
|
/openbmc/sdbusplus/test/bus/ |
H A D | match.cpp | 47 ASSERT_TRUE(triggered); in TEST_F() 66 ASSERT_TRUE(triggered); in TEST_F() 94 ASSERT_TRUE(b.triggered); in TEST_F()
|
/openbmc/bmcweb/test/include/ |
H A D | async_resolve_test.cpp | 10 ASSERT_TRUE(async_resolve::endpointFromResolveTuple({1, 2, 3, 4}, ep)); in TEST() 20 ASSERT_TRUE(async_resolve::endpointFromResolveTuple( in TEST()
|
/openbmc/pldm/libpldmresponder/test/ |
H A D | libpldmresponder_fru_test.cpp | 142 ASSERT_TRUE(node != NULL); in TEST() 148 ASSERT_TRUE(node != NULL); in TEST() 183 ASSERT_TRUE(!entityPtr); in TEST()
|