Home
last modified time | relevance | path

Searched refs:g_assert_cmpint (Results 1 – 25 of 112) sorted by relevance

12345

/qemu/tests/unit/
H A Dtest-aio.c115 g_assert_cmpint(data.n, ==, 0); in test_bh_schedule()
118 g_assert_cmpint(data.n, ==, 1); in test_bh_schedule()
121 g_assert_cmpint(data.n, ==, 1); in test_bh_schedule()
131 g_assert_cmpint(data.n, ==, 0); in test_bh_schedule10()
134 g_assert_cmpint(data.n, ==, 1); in test_bh_schedule10()
137 g_assert_cmpint(data.n, ==, 2); in test_bh_schedule10()
155 g_assert_cmpint(data.n, ==, 0); in test_bh_cancel()
158 g_assert_cmpint(data.n, ==, 0); in test_bh_cancel()
161 g_assert_cmpint(data.n, ==, 0); in test_bh_cancel()
171 g_assert_cmpint(data.n, ==, 0); in test_bh_delete()
[all …]
H A Dtest-cutils.c100 g_assert_cmpint(r, ==, 0); in test_parse_uint_trailing()
114 g_assert_cmpint(r, ==, 0); in test_parse_uint_correct()
128 g_assert_cmpint(r, ==, 0); in test_parse_uint_octal()
142 g_assert_cmpint(r, ==, 0); in test_parse_uint_decimal()
156 g_assert_cmpint(r, ==, 0); in test_parse_uint_llong_max()
172 g_assert_cmpint(r, ==, 0); in test_parse_uint_max()
269 g_assert_cmpint(r, ==, 0); in test_parse_uint_full_correct()
308 g_assert_cmpint(err, ==, 0); in test_qemu_strtoi_correct()
323 g_assert_cmpint(res, ==, 0); in test_qemu_strtoi_null()
338 g_assert_cmpint(res, ==, 0); in test_qemu_strtoi_empty()
[all …]
H A Dtest-bdrv-drain.c69 g_assert_cmpint(s->drain_count, >, 0); in bdrv_test_close()
254 g_assert_cmpint(aio_ret, ==, 0); in test_drv_cb_common()
1170 g_assert_cmpint(ret, ==, 0); in detach_by_parent_aio_cb()
1275 g_assert_cmpint(a->refcnt, ==, 3); in test_detach_indirect()
1276 g_assert_cmpint(b->refcnt, ==, 2); in test_detach_indirect()
1277 g_assert_cmpint(c->refcnt, ==, 1); in test_detach_indirect()
1304 g_assert_cmpint(a->refcnt, ==, 3); in test_detach_indirect()
1305 g_assert_cmpint(b->refcnt, ==, 1); in test_detach_indirect()
1306 g_assert_cmpint(c->refcnt, ==, 2); in test_detach_indirect()
1326 g_assert_cmpint(a->refcnt, ==, 1); in test_detach_indirect()
[all …]
H A Dtest-qgraph.c52 g_assert_cmpint(qos_graph_has_machine(interface), ==, FALSE); in check_interface()
54 g_assert_cmpint(qos_graph_has_node(interface), ==, TRUE); in check_interface()
64 g_assert_cmpint(qos_graph_has_machine(machine), ==, TRUE); in check_machine()
69 g_assert_cmpint(qos_graph_has_node(machine), ==, TRUE); in check_machine()
92 g_assert_cmpint(qos_graph_edge_get_type(edge), ==, in check_produces()
112 g_assert_cmpint(qos_graph_has_machine(driver), ==, FALSE); in check_driver()
114 g_assert_cmpint(qos_graph_has_node(driver), ==, TRUE); in check_driver()
127 g_assert_cmpint(qos_graph_has_machine(test), ==, FALSE); in check_test()
130 g_assert_cmpint(qos_graph_has_node(full_name), ==, TRUE); in check_test()
134 g_assert_cmpint(qos_graph_edge_get_type(edge), ==, in check_test()
[all …]
H A Dtest-thread-pool.c53 g_assert_cmpint(data.n, ==, 1); in test_submit()
68 g_assert_cmpint(active, ==, 0); in test_submit_aio()
69 g_assert_cmpint(data.n, ==, 1); in test_submit_aio()
70 g_assert_cmpint(data.ret, ==, 0); in test_submit_aio()
84 g_assert_cmpint(data->n, ==, 1); in co_test_cb()
100 g_assert_cmpint(active, ==, 1); in test_submit_co()
111 g_assert_cmpint(active, ==, 0); in test_submit_co()
112 g_assert_cmpint(data.ret, ==, 0); in test_submit_co()
168 g_assert_cmpint(active, >, 50); in do_test_cancel()
183 g_assert_cmpint(active, >, 0); in do_test_cancel()
[all …]
H A Dcheck-block-qdict.c237 g_assert_cmpint(qnum_get_int(int1), ==, 66); in qdict_array_split_test()
289 g_assert_cmpint(qnum_get_int(int1), ==, 42); in qdict_array_split_test()
442 g_assert_cmpint(qdict_size(dst), ==, 2); in qdict_crumple_test_recursive()
446 g_assert_cmpint(qdict_size(vnc), ==, 3); in qdict_crumple_test_recursive()
450 g_assert_cmpint(qdict_size(listen), ==, 2); in qdict_crumple_test_recursive()
456 g_assert_cmpint(qdict_size(acl), ==, 3); in qdict_crumple_test_recursive()
460 g_assert_cmpint(qlist_size(rules), ==, 2); in qdict_crumple_test_recursive()
464 g_assert_cmpint(qdict_size(rule), ==, 2); in qdict_crumple_test_recursive()
471 g_assert_cmpint(qdict_size(rule), ==, 2); in qdict_crumple_test_recursive()
482 g_assert_cmpint(qdict_size(empty), ==, 2); in qdict_crumple_test_recursive()
[all …]
H A Dtest-clone-visitor.c27 g_assert_cmpint(dst->integer, ==, 42); in test_clone_struct()
30 g_assert_cmpint(dst->has_enum1, ==, false); in test_clone_struct()
52 g_assert_cmpint(b_dst->type, ==, b_src->type); in test_clone_alternate()
53 g_assert_cmpint(b_dst->u.b, ==, b_src->u.b); in test_clone_alternate()
57 g_assert_cmpint(s_dst->u.e, ==, s_src->u.e); in test_clone_alternate()
79 g_assert_cmpint(tmp->value, ==, i); in test_clone_list()
112 g_assert_cmpint(dst->integer, ==, 123); in test_clone_complex1()
117 g_assert_cmpint(dst->u.value1.a_b, ==, 0); in test_clone_complex1()
179 g_assert_cmpint(elt->integer, ==, 1); in test_clone_complex3()
184 g_assert_cmpint(elt->integer, ==, 2); in test_clone_complex3()
[all …]
H A Dtest-qobject-input-visitor.c120 g_assert_cmpint(res, ==, value); in test_visitor_in_int()
141 g_assert_cmpint(i64, ==, value); in test_visitor_in_uint()
200 g_assert_cmpint(res, ==, value); in test_visitor_in_int_str_keyval()
225 g_assert_cmpint(res, ==, true); in test_visitor_in_bool()
250 g_assert_cmpint(res, ==, true); in test_visitor_in_bool_str_keyval()
627 g_assert_cmpint(val, ==, -42); in test_visitor_in_any()
639 g_assert_cmpint(val, ==, -42); in test_visitor_in_any()
1103 g_assert_cmpint(i64, ==, 1); in test_visitor_in_fail_list()
1105 g_assert_cmpint(i64, ==, 2); in test_visitor_in_fail_list()
1132 g_assert_cmpint(i64, ==, 0); in test_visitor_in_fail_list_nested()
[all …]
H A Dtest-util-sockets.c93 g_assert_cmpint(fd, !=, -1); in test_socket_fd_pass_name_good()
98 g_assert_cmpint(fd, !=, -1); in test_socket_fd_pass_name_good()
125 g_assert_cmpint(fd, ==, -1); in test_socket_fd_pass_name_bad()
129 g_assert_cmpint(fd, ==, -1); in test_socket_fd_pass_name_bad()
152 g_assert_cmpint(fd, ==, -1); in test_socket_fd_pass_name_nomon()
156 g_assert_cmpint(fd, ==, -1); in test_socket_fd_pass_name_nomon()
198 g_assert_cmpint(fd, ==, -1); in test_socket_fd_pass_num_bad()
202 g_assert_cmpint(fd, ==, -1); in test_socket_fd_pass_num_bad()
221 g_assert_cmpint(fd, ==, -1); in test_socket_fd_pass_num_nocli()
225 g_assert_cmpint(fd, ==, -1); in test_socket_fd_pass_num_nocli()
[all …]
H A Dtest-bitmap.c46 g_assert_cmpint(find_first_bit(bmap2, 60), ==, 60); in check_bitmap_copy_with_offset()
47 g_assert_cmpint(find_next_zero_bit(bmap2, 205, 60), ==, 205); in check_bitmap_copy_with_offset()
52 g_assert_cmpint(find_first_bit(bmap3, 135), ==, 135); in check_bitmap_copy_with_offset()
53 g_assert_cmpint(find_next_zero_bit(bmap3, 280, 135), ==, 280); in check_bitmap_copy_with_offset()
73 g_assert_cmpint(find_first_bit(bmap, 2 * BITS_PER_LONG), in bitmap_set_case()
75 g_assert_cmpint(find_next_zero_bit(bmap, in bitmap_set_case()
85 g_assert_cmpint(find_first_bit(bmap, BITS_PER_LONG), ==, BITS_PER_LONG); in bitmap_set_case()
95 g_assert_cmpint(find_first_bit(bmap, BITS_PER_LONG), in bitmap_set_case()
97 g_assert_cmpint(find_next_zero_bit(bmap, in bitmap_set_case()
109 g_assert_cmpint(find_first_bit(bmap, BITS_PER_LONG), in bitmap_set_case()
[all …]
H A Dtest-block-iothread.c93 g_assert_cmpint(ret, ==, 0); in test_sync_op_pread()
107 g_assert_cmpint(ret, ==, 0); in test_sync_op_pwrite()
121 g_assert_cmpint(ret, ==, 0); in test_sync_op_blk_pread()
135 g_assert_cmpint(ret, ==, 0); in test_sync_op_blk_pwrite()
150 g_assert_cmpint(ret, ==, 0); in test_sync_op_blk_preadv()
165 g_assert_cmpint(ret, ==, 0); in test_sync_op_blk_pwritev()
180 g_assert_cmpint(ret, ==, 0); in test_sync_op_blk_preadv_part()
195 g_assert_cmpint(ret, ==, 0); in test_sync_op_blk_pwritev_part()
222 g_assert_cmpint(ret, ==, 0); in test_sync_op_blk_pwrite_zeroes()
256 g_assert_cmpint(ret, ==, 0); in test_sync_op_pdiscard()
[all …]
H A Dtest-vmstate.c61 g_assert_cmpint((val), ==, 0)
64 g_assert_cmpint((val), !=, 0)
370 g_assert_cmpint(obj.a, ==, 10); in test_load_v1()
372 g_assert_cmpint(obj.c, ==, 30); in test_load_v1()
373 g_assert_cmpint(obj.d, ==, 40); in test_load_v1()
395 g_assert_cmpint(obj.a, ==, 10); in test_load_v2()
396 g_assert_cmpint(obj.b, ==, 20); in test_load_v2()
397 g_assert_cmpint(obj.c, ==, 30); in test_load_v2()
398 g_assert_cmpint(obj.d, ==, 40); in test_load_v2()
399 g_assert_cmpint(obj.e, ==, 50); in test_load_v2()
[all …]
H A Dtest-char.c118 g_assert_cmpint(ret, ==, 4); in char_stdio_test_subprocess()
157 g_assert_cmpint(ret, ==, 4); in char_ringbuf_test()
343 g_assert_cmpint(size, ==, 5); in websock_server_read()
493 g_assert_cmpint(ret, ==, 9); in char_pipe_test()
497 g_assert_cmpint(ret, ==, 9); in char_pipe_test()
503 g_assert_cmpint(ret, ==, 8); in char_pipe_test()
564 g_assert_cmpint(ret, ==, 0); in make_udp_socket()
566 g_assert_cmpint(ret, ==, 0); in make_udp_socket()
601 g_assert_cmpint(ret, ==, 5); in char_udp_test_internal()
605 g_assert_cmpint(ret, ==, 5); in char_udp_test_internal()
[all …]
H A Dtest-qobject-output-visitor.c71 g_assert_cmpint(val, ==, value); in test_visitor_out_int()
156 g_assert_cmpint(qdict_size(qdict), ==, 3); in test_visitor_out_struct()
194 g_assert_cmpint(qdict_size(qdict), ==, 2); in test_visitor_out_struct_nested()
198 g_assert_cmpint(qdict_size(dict1), ==, 3); in test_visitor_out_struct_nested()
202 g_assert_cmpint(qdict_size(dict2), ==, 2); in test_visitor_out_struct_nested()
210 g_assert_cmpint(qdict_size(dict3), ==, 2); in test_visitor_out_struct_nested()
262 g_assert_cmpint(i, ==, max_items); in test_visitor_out_list()
308 g_assert_cmpint(val, ==, -42); in test_visitor_out_any()
324 g_assert_cmpint(val, ==, -42); in test_visitor_out_any()
428 g_assert_cmpint(val, ==, 42); in test_visitor_out_alternate()
[all …]
/qemu/tests/qtest/
H A Dtpm-crb-test.c44 g_assert_cmpint(FIELD_EX32(intfid, CRB_INTF_ID, CapCRB), ==, 1); in tpm_crb_test()
46 g_assert_cmpint(FIELD_EX32(intfid, CRB_INTF_ID, RID), ==, 0); in tpm_crb_test()
48 g_assert_cmpint(csize, >=, 128); in tpm_crb_test()
49 g_assert_cmpint(rsize, >=, 128); in tpm_crb_test()
50 g_assert_cmpint(caddr, >, TPM_CRB_ADDR_BASE); in tpm_crb_test()
51 g_assert_cmpint(raddr, >, TPM_CRB_ADDR_BASE); in tpm_crb_test()
59 g_assert_cmpint(locctrl, ==, 0); in tpm_crb_test()
64 g_assert_cmpint(FIELD_EX32(sts, CRB_CTRL_STS, tpmIdle), ==, 1); in tpm_crb_test()
65 g_assert_cmpint(FIELD_EX32(sts, CRB_CTRL_STS, tpmSts), ==, 0); in tpm_crb_test()
89 g_assert_cmpint(FIELD_EX32(sts, CRB_CTRL_STS, tpmSts), ==, 0); in tpm_crb_test()
[all …]
H A Dtpm-tis-i2c-test.c109 g_assert_cmpint(v, ==, 0); in tpm_tis_i2c_test_basic()
115 g_assert_cmpint(v, ==, 0); in tpm_tis_i2c_test_basic()
130 g_assert_cmpint(v, ==, 0); in tpm_tis_i2c_test_basic()
135 g_assert_cmpint(v, ==, 0xffffffff); in tpm_tis_i2c_test_basic()
142 g_assert_cmpint(v, ==, 0); in tpm_tis_i2c_test_basic()
148 g_assert_cmpint(v, ==, v2); in tpm_tis_i2c_test_basic()
157 g_assert_cmpint(v, ==, 0); in tpm_tis_i2c_test_basic()
186 g_assert_cmpint(rid, !=, 0); in tpm_tis_i2c_test_check_localities()
191 g_assert_cmpint(l, ==, locty); in tpm_tis_i2c_test_check_localities()
532 g_assert_cmpint(bcount, >=, 128); in tpm_tis_i2c_test_check_transmit()
[all …]
H A Dvirtio-iommu-test.c40 g_assert_cmpint(bypass, ==, 1); in pci_config()
189 g_assert_cmpint(ret, ==, 0); in test_attach_detach()
201 g_assert_cmpint(ret, ==, 0); in test_attach_detach()
209 g_assert_cmpint(ret, ==, 0); in test_attach_detach()
212 g_assert_cmpint(ret, ==, 0); in test_attach_detach()
215 g_assert_cmpint(ret, ==, 0); in test_attach_detach()
218 g_assert_cmpint(ret, ==, 0); in test_attach_detach()
220 g_assert_cmpint(ret, ==, 0); in test_attach_detach()
234 g_assert_cmpint(ret, ==, 0); in test_map_unmap()
241 g_assert_cmpint(ret, ==, 0); in test_map_unmap()
[all …]
H A Di440fx-test.c56 g_assert_cmpint(qpci_config_readw(dev, PCI_VENDOR_ID), ==, 0x8086); in test_i440fx_defaults()
58 g_assert_cmpint(qpci_config_readw(dev, PCI_DEVICE_ID), ==, 0x1237); in test_i440fx_defaults()
61 g_assert_cmpint(qpci_config_readw(dev, PCI_COMMAND), ==, 0x0006); in test_i440fx_defaults()
63 g_assert_cmpint(qpci_config_readw(dev, PCI_STATUS), ==, 0x0280); in test_i440fx_defaults()
66 g_assert_cmpint(qpci_config_readb(dev, PCI_CLASS_PROG), ==, 0x00); in test_i440fx_defaults()
71 g_assert_cmpint(qpci_config_readb(dev, PCI_HEADER_TYPE), ==, 0x00); in test_i440fx_defaults()
73 g_assert_cmpint(qpci_config_readb(dev, PCI_BIST), ==, 0x00); in test_i440fx_defaults()
89 g_assert_cmpint(qpci_config_readb(dev, 0x53), ==, 0x80); /* DBC */ in test_i440fx_defaults()
92 g_assert_cmpint(qpci_config_readb(dev, 0x54), ==, 0x00); /* AXC */ in test_i440fx_defaults()
123 g_assert_cmpint(qpci_config_readb(dev, 0x70), ==, 0x00); /* MTT */ in test_i440fx_defaults()
[all …]
H A Dtpm-tis-util.c66 g_assert_cmpint(didvid, !=, 0); in tpm_tis_test_check_localities()
67 g_assert_cmpint(didvid, !=, 0xffffffff); in tpm_tis_test_check_localities()
70 g_assert_cmpint(rid, !=, 0); in tpm_tis_test_check_localities()
71 g_assert_cmpint(rid, !=, 0xffffffff); in tpm_tis_test_check_localities()
392 g_assert_cmpint(sts & 0xff, ==, 0); in tpm_tis_test_check_transmit()
393 g_assert_cmpint(sts & TPM_TIS_STS_TPM_FAMILY_MASK, ==, in tpm_tis_test_check_transmit()
397 g_assert_cmpint(bcount, >=, 128); in tpm_tis_test_check_transmit()
410 g_assert_cmpint(sts & 0xff, ==, in tpm_tis_test_check_transmit()
430 g_assert_cmpint(sts & 0xff, == , in tpm_tis_test_check_transmit()
436 g_assert_cmpint(sizeof(tpm_msg), ==, bcount); in tpm_tis_test_check_transmit()
[all …]
H A Dnvme-test.c60 g_assert_cmpint(qpci_io_readb(pdev, bar, 0), ==, 0x99); in nvmetest_oob_cmb_test()
82 g_assert_cmpint(NVME_CAP_MQES(cap_lo), ==, 0x7ff); in nvmetest_reg_read_test()
88 g_assert_cmpint(NVME_CAP_MQES(cap), ==, 0x7ff); in nvmetest_reg_read_test()
89 g_assert_cmpint(NVME_CAP_MPSMAX(cap), ==, 0x4); in nvmetest_reg_read_test()
113 g_assert_cmpint(NVME_PMRCAP_RDS(pmrcap), ==, 0x1); in nvmetest_pmr_reg_test()
114 g_assert_cmpint(NVME_PMRCAP_WDS(pmrcap), ==, 0x1); in nvmetest_pmr_reg_test()
115 g_assert_cmpint(NVME_PMRCAP_BIR(pmrcap), ==, 0x4); in nvmetest_pmr_reg_test()
116 g_assert_cmpint(NVME_PMRCAP_PMRWBM(pmrcap), ==, 0x2); in nvmetest_pmr_reg_test()
117 g_assert_cmpint(NVME_PMRCAP_CMSS(pmrcap), ==, 0x1); in nvmetest_pmr_reg_test()
128 g_assert_cmpint(NVME_PMRSTS_NRDY(pmrsts), ==, 0x0); in nvmetest_pmr_reg_test()
[all …]
H A Drtc-test.c174 g_assert_cmpint(ABS(t - s), <=, wiggle); in check_time()
194 g_assert_cmpint(cmos_read(RTC_HOURS), ==, 0x02); in set_year_20xx()
198 g_assert_cmpint(cmos_read(RTC_MONTH), ==, 0x02); in set_year_20xx()
199 g_assert_cmpint(cmos_read(RTC_YEAR), ==, 0x11); in set_year_20xx()
211 g_assert_cmpint(cmos_read(RTC_HOURS), ==, 0x02); in set_year_20xx()
215 g_assert_cmpint(cmos_read(RTC_MONTH), ==, 0x02); in set_year_20xx()
216 g_assert_cmpint(cmos_read(RTC_YEAR), ==, 0x80); in set_year_20xx()
223 g_assert_cmpint(cmos_read(RTC_HOURS), ==, 0x02); in set_year_20xx()
227 g_assert_cmpint(cmos_read(RTC_MONTH), ==, 0x02); in set_year_20xx()
228 g_assert_cmpint(cmos_read(RTC_YEAR), ==, 0x11); in set_year_20xx()
[all …]
H A Dtest-filter-redirector.c74 g_assert_cmpint(ret, !=, -1); in test_redirector_tx()
77 g_assert_cmpint(ret, !=, -1); in test_redirector_tx()
79 g_assert_cmpint(ret, !=, -1); in test_redirector_tx()
95 g_assert_cmpint(recv_sock, !=, -1); in test_redirector_tx()
115 g_assert_cmpint(ret, ==, sizeof(len)); in test_redirector_tx()
121 g_assert_cmpint(ret, ==, len); in test_redirector_tx()
144 g_assert_cmpint(ret, !=, -1); in test_redirector_rx()
147 g_assert_cmpint(ret, !=, -1); in test_redirector_rx()
149 g_assert_cmpint(ret, !=, -1); in test_redirector_rx()
175 g_assert_cmpint(send_sock, !=, -1); in test_redirector_rx()
[all …]
H A Dpflash-cfi02-test.c489 g_assert_cmpint(status0 & dq3, ==, 0); in test_geometry()
490 g_assert_cmpint(status0 & dq6, ==, ~status1 & dq6); in test_geometry()
494 g_assert_cmpint(status0 & dq3, ==, 0); in test_geometry()
506 g_assert_cmpint(status0 & dq6, ==, status1 & dq6); in test_geometry()
514 g_assert_cmpint(status0 & dq3, ==, dq3); in test_geometry()
519 g_assert_cmpint(status0 & dq3, ==, dq3); in test_geometry()
534 g_assert_cmpint(status0 & dq3, ==, dq3); in test_geometry()
539 g_assert_cmpint(status0 & dq3, ==, dq3); in test_geometry()
551 g_assert_cmpint(status0 & dq6, ==, status1 & dq6); in test_geometry()
559 g_assert_cmpint(status0 & dq3, ==, dq3); in test_geometry()
[all …]
H A Dbcm2835-dma-test.c54 g_assert_cmpint(isr, ==, 0); in bcm2835_dma_test_interrupt()
56 g_assert_cmpint(reg0, ==, 0); in bcm2835_dma_test_interrupt()
58 g_assert_cmpint(ic_pending, ==, 0); in bcm2835_dma_test_interrupt()
60 g_assert_cmpint(gpu_pending1, ==, 0); in bcm2835_dma_test_interrupt()
79 g_assert_cmpint(data, ==, check_data); in bcm2835_dma_test_interrupt()
82 g_assert_cmpint(data, ==, ~check_data); in bcm2835_dma_test_interrupt()
87 g_assert_cmpint(isr, ==, 1 << dma_c); in bcm2835_dma_test_interrupt()
90 g_assert_cmpint(ic_pending, ==, IRQ_GPU_PENDING1_AGGR); in bcm2835_dma_test_interrupt()
93 g_assert_cmpint(gpu_pending1, ==, 1 << gpu_irq_line); in bcm2835_dma_test_interrupt()
H A Dfw_cfg-test.c89 g_assert_cmpint(qfw_cfg_get_u64(fw_cfg, FW_CFG_RAM_SIZE), ==, ram_size); in test_fw_cfg_ram_size()
103 g_assert_cmpint(qfw_cfg_get_u16(fw_cfg, FW_CFG_NOGRAPHIC), ==, 0); in test_fw_cfg_nographic()
117 g_assert_cmpint(qfw_cfg_get_u16(fw_cfg, FW_CFG_NB_CPUS), ==, nb_cpus); in test_fw_cfg_nb_cpus()
146 g_assert_cmpint(qfw_cfg_get_u64(fw_cfg, FW_CFG_NUMA), ==, nb_nodes); in test_fw_cfg_numa()
156 g_assert_cmpint(node_mask[0], ==, ram_size); in test_fw_cfg_numa()
190 g_assert_cmpint(filesize, ==, sizeof(reboot_timeout)); in test_fw_cfg_reboot_timeout()
192 g_assert_cmpint(reboot_timeout, ==, 15); in test_fw_cfg_reboot_timeout()
210 g_assert_cmpint(filesize, ==, sizeof(reboot_timeout)); in test_fw_cfg_no_reboot_timeout()
212 g_assert_cmpint(reboot_timeout, ==, UINT32_MAX); in test_fw_cfg_no_reboot_timeout()
229 g_assert_cmpint(filesize, ==, sizeof(splash_time)); in test_fw_cfg_splash_time()
[all …]

12345