/openbmc/qemu/tests/qemu-iotests/ |
H A D | 083.out | 2 === Check disconnect before neg1 === 6 === Check disconnect after neg1 === 10 === Check disconnect 8 neg1 === 14 === Check disconnect 16 neg1 === 18 === Check disconnect before export === 22 === Check disconnect after export === 26 === Check disconnect 4 export === 30 === Check disconnect 12 export === 34 === Check disconnect 16 export === 38 === Check disconnect before neg2 === [all …]
|
H A D | 137 | 53 # Try all options and then check that all of the basic I/O operations still 60 -c "reopen -o overlap-check=all" \ 61 -c "reopen -o overlap-check=none" \ 62 -c "reopen -o overlap-check=cached" \ 63 -c "reopen -o overlap-check=constant" \ 64 -c "reopen -o overlap-check.template=all" \ 65 -c "reopen -o overlap-check.template=none" \ 66 -c "reopen -o overlap-check.template=cached" \ 67 -c "reopen -o overlap-check.template=constant" \ 68 -c "reopen -o overlap-check.main-header=on" \ [all …]
|
/openbmc/qemu/block/ |
H A D | qed-check.c | 2 * QEMU Enhanced Disk Format Consistency Check 40 * @check: Check structure 44 static bool qed_set_used_clusters(QEDCheck *check, uint64_t offset, in qed_set_used_clusters() argument 47 uint64_t cluster = qed_bytes_to_clusters(check->s, offset); in qed_set_used_clusters() 52 if (qed_test_bit(check->used_clusters, cluster)) { in qed_set_used_clusters() 56 qed_set_bit(check->used_clusters, cluster); in qed_set_used_clusters() 60 check->result->corruptions += corruptions; in qed_set_used_clusters() 65 * Check an L2 table 69 static unsigned int qed_check_l2_table(QEDCheck *check, QEDTable *table) in qed_check_l2_table() argument 71 BDRVQEDState *s = check->s; in qed_check_l2_table() [all …]
|
/openbmc/openbmc-test-automation/openpower/ |
H A D | test_bmc_devicetree.robot | 16 Check BMC Model Property Is Set 19 [Template] Template Check Property 25 Check BMC Compatible Property Is Set 28 [Template] Template Check Property 34 Check BMC CPU Name Property Is Set 37 [Template] Template Check Property 43 Check BMC CPU Compatible Property Is Set 46 [Template] Template Check Property 52 Check BMC Memory Name Property Is Set 55 [Template] Template Check Property [all …]
|
/openbmc/linux/tools/testing/selftests/powerpc/switch_endian/ |
H A D | check.S | 8 * r15: pattern to check registers against. 14 cmpd r9,r3 # check r3 16 addi r9,r15,4 # check r4 19 lis r9,0x00FF # check CR 26 addi r9,r15,32 # check LR 30 addi r9,r15,5 # check r5 33 addi r9,r15,6 # check r6 36 addi r9,r15,7 # check r7 39 addi r9,r15,8 # check r8 42 addi r9,r15,13 # check r13 [all …]
|
/openbmc/qemu/tests/ |
H A D | Makefile.include | 3 .PHONY: check-help 4 check-help: 6 …@echo " $(MAKE) check Run block, qapi-schema, unit, softfloat, qtest and decode… 10 @echo " $(MAKE) check-qtest-TARGET Run qtest tests for given target" 11 @echo " $(MAKE) check-qtest Run qtest tests" 12 @echo " $(MAKE) check-functional Run python-based functional tests" 13 @echo " $(MAKE) check-functional-TARGET Run functional tests for a given target" 14 @echo " $(MAKE) check-unit Run qobject tests" 15 @echo " $(MAKE) check-qapi-schema Run QAPI schema tests" 16 @echo " $(MAKE) check-block Run block tests" [all …]
|
/openbmc/linux/arch/powerpc/lib/ |
H A D | test-code-patching.c | 25 #define check(x) do { \ macro 39 check(instr_is_branch_iform(ppc_inst(0x48000000))); in test_branch_iform() 41 check(instr_is_branch_iform(ppc_inst(0x4bffffff))); in test_branch_iform() 43 check(!instr_is_branch_iform(ppc_inst(0xcbffffff))); in test_branch_iform() 45 check(!instr_is_branch_iform(ppc_inst(0x7bffffff))); in test_branch_iform() 48 check(instr_is_branch_iform(ppc_inst(0x48000001))); in test_branch_iform() 50 check(instr_is_branch_iform(ppc_inst(0x4bfffffd))); in test_branch_iform() 52 check(instr_is_branch_iform(ppc_inst(0x4bff00fd))); in test_branch_iform() 54 check(!instr_is_branch_iform(ppc_inst(0x7bfffffd))); in test_branch_iform() 58 check(instr_is_branch_to_addr(iptr, 0x100)); in test_branch_iform() [all …]
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/dbus/fan-policy/witherspoon/ |
H A D | fan-errors.yaml | 127 callback: check power 136 callback: check power fan0 presence 145 callback: check power fan0 functional 154 callback: check power fan1 presence 163 callback: check power fan1 functional 172 callback: check power fan2 presence 181 callback: check power fan2 functional 190 callback: check power fan3 presence 199 callback: check power fan3 functional 203 'On fan present or functional state changes, check if errors need to be resolved.' [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | pinning.c | 18 if (CHECK(!map, "find map", "NULL map")) in get_map_id() 23 CHECK(err, "get map info", "err %d errno %d", err, errno); in get_map_id() 45 /* check that opening fails with invalid pinning value in map def */ in test_pinning() 48 if (CHECK(err != -EINVAL, "invalid open", "err %d errno %d\n", err, errno)) { in test_pinning() 56 if (CHECK(err, "default open", "err %d errno %d\n", err, errno)) { in test_pinning() 62 if (CHECK(err, "default load", "err %d errno %d\n", err, errno)) in test_pinning() 65 /* check that pinmap was pinned */ in test_pinning() 67 if (CHECK(err, "stat pinpath", "err %d errno %d\n", err, errno)) in test_pinning() 70 /* check that nopinmap was *not* pinned */ in test_pinning() 72 if (CHECK(!err || errno != ENOENT, "stat nopinpath", in test_pinning() [all …]
|
H A D | hashmap.c | 60 if (CHECK(err != -ENOENT, "hashmap__update", in test_hashmap_generic() 68 if (CHECK(oldk != 0 || oldv != 0, "check_kv", in test_hashmap_generic() 73 if (CHECK(err, "elem_add", "failed to add k/v %ld = %ld: %d\n", k, v, err)) in test_hashmap_generic() 76 if (CHECK(!hashmap__find(map, k, &oldv), "elem_find", in test_hashmap_generic() 79 if (CHECK(oldv != v, "elem_val", "found value is wrong: %ld\n", oldv)) in test_hashmap_generic() 83 if (CHECK(hashmap__size(map) != ELEM_CNT, "hashmap__size", in test_hashmap_generic() 86 if (CHECK(hashmap__capacity(map) != exp_cap(hashmap__size(map)), in test_hashmap_generic() 97 if (CHECK(v - k != 1024, "check_kv", in test_hashmap_generic() 101 if (CHECK(found_msk != (1ULL << ELEM_CNT) - 1, "elem_cnt", in test_hashmap_generic() 110 if (CHECK(err != -EEXIST, "hashmap__add", in test_hashmap_generic() [all …]
|
H A D | cgroup_attach_override.c | 32 if (CHECK(allow_prog < 0, "prog_load_allow", in serial_test_cgroup_attach_override() 37 if (CHECK(drop_prog < 0, "prog_load_drop", in serial_test_cgroup_attach_override() 42 if (CHECK(foo < 0, "cgroup_join_foo", "cgroup setup failed\n")) in serial_test_cgroup_attach_override() 45 if (CHECK(bpf_prog_attach(drop_prog, foo, BPF_CGROUP_INET_EGRESS, in serial_test_cgroup_attach_override() 51 if (CHECK(!system(PING_CMD), "ping_fail", in serial_test_cgroup_attach_override() 56 if (CHECK(bar < 0, "cgroup_join_bar", "cgroup setup failed\n")) in serial_test_cgroup_attach_override() 59 if (CHECK(!system(PING_CMD), "ping_fail", in serial_test_cgroup_attach_override() 63 if (CHECK(bpf_prog_attach(allow_prog, bar, BPF_CGROUP_INET_EGRESS, in serial_test_cgroup_attach_override() 69 if (CHECK(system(PING_CMD), "ping_ok", "ping failed\n")) in serial_test_cgroup_attach_override() 72 if (CHECK(bpf_prog_detach(bar, BPF_CGROUP_INET_EGRESS), in serial_test_cgroup_attach_override() [all …]
|
H A D | skeleton.c | 30 if (CHECK(!skel, "skel_open", "failed to open skeleton\n")) in test_skeleton() 33 if (CHECK(skel->kconfig, "skel_kconfig", "kconfig is mmaped()!\n")) in test_skeleton() 46 CHECK(data->in1 != -1, "in1", "got %d != exp %d\n", data->in1, -1); in test_skeleton() 47 CHECK(data->out1 != -1, "out1", "got %d != exp %d\n", data->out1, -1); in test_skeleton() 48 CHECK(data->in2 != -1, "in2", "got %lld != exp %lld\n", data->in2, -1LL); in test_skeleton() 49 CHECK(data->out2 != -1, "out2", "got %lld != exp %lld\n", data->out2, -1LL); in test_skeleton() 51 CHECK(bss->in3 != 0, "in3", "got %d != exp %d\n", bss->in3, 0); in test_skeleton() 52 CHECK(bss->out3 != 0, "out3", "got %d != exp %d\n", bss->out3, 0); in test_skeleton() 53 CHECK(bss->in4 != 0, "in4", "got %lld != exp %lld\n", bss->in4, 0LL); in test_skeleton() 54 CHECK(bss->out4 != 0, "out4", "got %lld != exp %lld\n", bss->out4, 0LL); in test_skeleton() [all …]
|
/openbmc/linux/tools/testing/selftests/user_events/ |
H A D | abi_test.c | 93 int check; in FIXTURE() local 102 self->check = 0; in FIXTURE_SETUP() 112 ASSERT_EQ(0, self->check); in TEST_F() 113 ASSERT_EQ(0, reg_enable(&self->check, sizeof(int), 0)); in TEST_F() 115 ASSERT_EQ(1, self->check); in TEST_F() 117 ASSERT_EQ(0, self->check); in TEST_F() 121 ASSERT_EQ(1, self->check); in TEST_F() 122 ASSERT_EQ(0, reg_disable(&self->check, 0)); in TEST_F() 123 ASSERT_EQ(0, self->check); in TEST_F() 127 ASSERT_EQ(0, self->check); in TEST_F() [all …]
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/dbus/fan-policy/swift/ |
H A D | fan-errors.yaml | 126 callback: check power 135 callback: check power fan0 presence 144 callback: check power fan0 functional 153 callback: check power fan1 presence 162 callback: check power fan1 functional 171 callback: check power fan2 presence 180 callback: check power fan2 functional 189 callback: check power fan3 presence 198 callback: check power fan3 functional 202 'On fan present or functional state changes, check if errors need to be resolved.' [all …]
|
/openbmc/phosphor-webui/app/access-control/directives/ |
H A D | role-table.js | 19 const svg = require('../../assets/icons/icon-check.svg'); 20 const check = 37 'Configure components managed by this service', check, '', '', 41 {uiData: ['Configure manager resources', check, '', '', '']}, 44 'Update password for current user account', check, '', '', '' 47 {uiData: ['Configure users and their accounts', check, '', '', '']}, 50 'Log in to the service and read resources', check, check, check, 54 {uiData: ['IPMI access point', check, check, check, '']}, 55 {uiData: ['Redfish access point', check, check, check, '']}, 56 {uiData: ['SSH access point', check, '', '', '']}, [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/netdevsim/ |
H A D | ethtool-fec.sh | 13 check $? "$s" "Configured FEC encodings: None 18 check $? 20 check $? "$s" "Configured FEC encodings: Auto 26 check $? 28 check $? "$s" "Configured FEC encodings: Off 34 check $? 36 check $? "$s" "Configured FEC encodings: BaseR 42 check $? 44 check $? "$s" "Configured FEC encodings: ${o^^} 50 check $? [all …]
|
/openbmc/phosphor-host-ipmid/test/message/ |
H A D | unpack.cpp | 26 // check that the number of bytes matches in TEST() 28 // check that the payload was fully unpacked in TEST() 31 // check that the bytes were correctly unpacked (LSB first) in TEST() 40 // check that the number of bytes matches in TEST() 42 // check that the payload was not fully unpacked in TEST() 45 // check that the bytes were correctly unpacked (LSB first) in TEST() 54 // check that the number of bytes matches in TEST() 56 // check that the payload was not fully unpacked (comprehends unpack errors) in TEST() 58 // check that v is zero in TEST() 67 // check that the number of bytes matches in TEST() [all …]
|
/openbmc/linux/tools/testing/selftests/arm64/mte/ |
H A D | check_mmap_options.c | 213 "Check anonymous memory with private mapping, sync error mode, mmap memory and tag check off\n"); in main() 215 …"Check file memory with private mapping, sync error mode, mmap/mprotect memory and tag check off\n… in main() 219 "Check anonymous memory with private mapping, no error mode, mmap memory and tag check off\n"); in main() 221 "Check file memory with private mapping, no error mode, mmap/mprotect memory and tag check off\n"); in main() 224 "Check anonymous memory with private mapping, sync error mode, mmap memory and tag check on\n"); in main() 226 …"Check anonymous memory with private mapping, sync error mode, mmap/mprotect memory and tag check … in main() 228 "Check anonymous memory with shared mapping, sync error mode, mmap memory and tag check on\n"); in main() 230 …"Check anonymous memory with shared mapping, sync error mode, mmap/mprotect memory and tag check o… in main() 232 "Check anonymous memory with private mapping, async error mode, mmap memory and tag check on\n"); in main() 234 …"Check anonymous memory with private mapping, async error mode, mmap/mprotect memory and tag check… in main() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/tests/functional/ |
H A D | test_project_page.py | 94 # Check edit column 99 # Check dropdown is visible 102 # Check that we can hide/show table column 106 # check if column is visible in table 114 # check if column is hidden in table 122 # check if column is hidden in table 130 # check if column is visible in table 153 # Check that we can show rows == row_to_show 156 # check at least some rows are visible 167 # Check show rows [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | linked_list_fail.c | 47 #define CHECK(test, op, hexpr) \ macro 57 CHECK(kptr, pop_front, &f->head); 58 CHECK(kptr, pop_back, &f->head); 60 CHECK(global, pop_front, &ghead); 61 CHECK(global, pop_back, &ghead); 63 CHECK(map, pop_front, &v->head); 64 CHECK(map, pop_back, &v->head); 66 CHECK(inner_map, pop_front, &iv->head); 67 CHECK(inner_map, pop_back, &iv->head); 69 #undef CHECK [all …]
|
H A D | verifier_sdiv.c | 11 __description("SDIV32, non-zero imm divisor, check 1") 23 __description("SDIV32, non-zero imm divisor, check 2") 35 __description("SDIV32, non-zero imm divisor, check 3") 47 __description("SDIV32, non-zero imm divisor, check 4") 59 __description("SDIV32, non-zero imm divisor, check 5") 71 __description("SDIV32, non-zero imm divisor, check 6") 83 __description("SDIV32, non-zero imm divisor, check 7") 95 __description("SDIV32, non-zero imm divisor, check 8") 107 __description("SDIV32, non-zero reg divisor, check 1") 120 __description("SDIV32, non-zero reg divisor, check 2") [all …]
|
/openbmc/qemu/python/ |
H A D | Makefile | 9 @echo "make check-minreqs:" 15 @echo "make check-tox:" 23 @echo "make check-dev:" 28 @echo "make check:" 33 @echo " Install deps needed for 'make check'," 41 @echo " Creates a simple venv for check-dev. ($(QEMU_VENV_DIR))" 52 .PHONY: pipenv check-pipenv 53 pipenv check-pipenv: 54 @echo "pipenv was dropped; try 'make check-minreqs' or 'make min-venv'" 57 PIP_INSTALL = pip install --disable-pip-version-check [all …]
|
/openbmc/qemu/.gitlab-ci.d/ |
H A D | buildtest.yml | 13 MAKE_CHECK_ARGS: check-build 16 check-system-alpine: 23 MAKE_CHECK_ARGS: check-unit check-qtest 32 MAKE_CHECK_ARGS: check-avocado check-functional 45 MAKE_CHECK_ARGS: check-build 47 check-system-ubuntu: 54 MAKE_CHECK_ARGS: check 63 MAKE_CHECK_ARGS: check-avocado check-functional 77 MAKE_CHECK_ARGS: check-build 79 check-system-debian: [all …]
|
/openbmc/linux/drivers/firmware/efi/ |
H A D | cper-x86.c | 48 #define CHECK_VALID_BITS(check) (((check) & GENMASK_ULL(15, 0))) argument 49 #define CHECK_TRANS_TYPE(check) (((check) & GENMASK_ULL(17, 16)) >> 16) argument 50 #define CHECK_OPERATION(check) (((check) & GENMASK_ULL(21, 18)) >> 18) argument 51 #define CHECK_LEVEL(check) (((check) & GENMASK_ULL(24, 22)) >> 22) argument 58 #define CHECK_BUS_PART_TYPE(check) (((check) & GENMASK_ULL(31, 30)) >> 30) argument 60 #define CHECK_BUS_ADDR_SPACE(check) (((check) & GENMASK_ULL(34, 33)) >> 33) argument 69 #define CHECK_MS_ERR_TYPE(check) (((check) & GENMASK_ULL(18, 16)) >> 16) argument 144 "MSR Registers (Machine Check and other MSRs)", 153 static inline void print_bool(char *str, const char *pfx, u64 check, u64 bit) in print_bool() argument 155 printk("%s%s: %s\n", pfx, str, (check & bit) ? "true" : "false"); in print_bool() [all …]
|
/openbmc/linux/lib/ |
H A D | percpu_test.c | 5 #define CHECK(native, pcp, expected) \ macro 36 CHECK(l, long_counter, -1); in percpu_test_init() 40 CHECK(l, long_counter, 0); in percpu_test_init() 47 CHECK(ul, ulong_counter, 1); in percpu_test_init() 51 CHECK(ul, ulong_counter, 0); in percpu_test_init() 55 CHECK(ul, ulong_counter, -1); in percpu_test_init() 62 CHECK(ul, ulong_counter, -1); in percpu_test_init() 63 CHECK(ul, ulong_counter, ULONG_MAX); in percpu_test_init() 67 CHECK(l, long_counter, 0xffffffff); in percpu_test_init() 71 CHECK(l, long_counter, (long)0x100000000LL); in percpu_test_init() [all …]
|