Lines Matching full:fix
141 static void test_qga_sync_delimited(gconstpointer fix) in test_qga_sync_delimited() argument
143 const TestFixture *fixture = fix; in test_qga_sync_delimited()
182 static void test_qga_sync(gconstpointer fix) in test_qga_sync() argument
184 const TestFixture *fixture = fix; in test_qga_sync()
210 static void test_qga_ping(gconstpointer fix) in test_qga_ping() argument
212 const TestFixture *fixture = fix; in test_qga_ping()
220 static void test_qga_id(gconstpointer fix) in test_qga_id() argument
222 const TestFixture *fixture = fix; in test_qga_id()
231 static void test_qga_invalid_oob(gconstpointer fix) in test_qga_invalid_oob() argument
233 const TestFixture *fixture = fix; in test_qga_invalid_oob()
242 static void test_qga_invalid_args(gconstpointer fix) in test_qga_invalid_args() argument
244 const TestFixture *fixture = fix; in test_qga_invalid_args()
261 static void test_qga_invalid_cmd(gconstpointer fix) in test_qga_invalid_cmd() argument
263 const TestFixture *fixture = fix; in test_qga_invalid_cmd()
279 static void test_qga_info(gconstpointer fix) in test_qga_info() argument
281 const TestFixture *fixture = fix; in test_qga_info()
295 static void test_qga_get_vcpus(gconstpointer fix) in test_qga_get_vcpus() argument
297 const TestFixture *fixture = fix; in test_qga_get_vcpus()
313 static void test_qga_get_fsinfo(gconstpointer fix) in test_qga_get_fsinfo() argument
315 const TestFixture *fixture = fix; in test_qga_get_fsinfo()
335 static void test_qga_get_memory_block_info(gconstpointer fix) in test_qga_get_memory_block_info() argument
337 const TestFixture *fixture = fix; in test_qga_get_memory_block_info()
354 static void test_qga_get_memory_blocks(gconstpointer fix) in test_qga_get_memory_blocks() argument
356 const TestFixture *fixture = fix; in test_qga_get_memory_blocks()
377 static void test_qga_network_get_interfaces(gconstpointer fix) in test_qga_network_get_interfaces() argument
379 const TestFixture *fixture = fix; in test_qga_network_get_interfaces()
394 static void test_qga_file_ops(gconstpointer fix) in test_qga_file_ops() argument
396 const TestFixture *fixture = fix; in test_qga_file_ops()
534 static void test_qga_file_write_read(gconstpointer fix) in test_qga_file_write_read() argument
536 const TestFixture *fixture = fix; in test_qga_file_write_read()
619 static void test_qga_get_time(gconstpointer fix) in test_qga_get_time() argument
621 const TestFixture *fixture = fix; in test_qga_get_time()
635 TestFixture fix; in test_qga_blockedrpcs() local
639 fixture_setup(&fix, "-b guest-ping,guest-get-time", NULL); in test_qga_blockedrpcs()
642 ret = qmp_fd(fix.fd, "{'execute': 'guest-ping'}"); in test_qga_blockedrpcs()
651 ret = qmp_fd(fix.fd, "{'execute': 'guest-get-time'}"); in test_qga_blockedrpcs()
661 ret = qmp_fd(fix.fd, "{'execute': 'guest-get-fsinfo'}"); in test_qga_blockedrpcs()
665 fixture_tear_down(&fix, NULL); in test_qga_blockedrpcs()
670 TestFixture fix; in test_qga_allowedrpcs() local
674 fixture_setup(&fix, "-a guest-ping,guest-get-time", NULL); in test_qga_allowedrpcs()
677 ret = qmp_fd(fix.fd, "{'execute': 'guest-ping'}"); in test_qga_allowedrpcs()
681 ret = qmp_fd(fix.fd, "{'execute': 'guest-get-time'}"); in test_qga_allowedrpcs()
686 ret = qmp_fd(fix.fd, "{'execute': 'guest-get-fsinfo'}"); in test_qga_allowedrpcs()
695 fixture_tear_down(&fix, NULL); in test_qga_allowedrpcs()
774 static void test_qga_fsfreeze_status(gconstpointer fix) in test_qga_fsfreeze_status() argument
776 const TestFixture *fixture = fix; in test_qga_fsfreeze_status()
813 static void test_qga_guest_exec(gconstpointer fix) in test_qga_guest_exec() argument
815 const TestFixture *fixture = fix; in test_qga_guest_exec()
847 static void test_qga_guest_exec_separated(gconstpointer fix) in test_qga_guest_exec_separated() argument
850 static void test_qga_guest_exec_merged(gconstpointer fix) in test_qga_guest_exec_merged() argument
852 const TestFixture *fixture = fix; in test_qga_guest_exec_merged()
873 static void test_qga_guest_exec_separated(gconstpointer fix) in test_qga_guest_exec_separated() argument
875 const TestFixture *fixture = fix; in test_qga_guest_exec_separated()
915 static void test_qga_guest_exec_merged(gconstpointer fix) in test_qga_guest_exec_merged() argument
917 const TestFixture *fixture = fix; in test_qga_guest_exec_merged()
955 static void test_qga_guest_exec_invalid(gconstpointer fix) in test_qga_guest_exec_invalid() argument
957 const TestFixture *fixture = fix; in test_qga_guest_exec_invalid()
986 static void test_qga_guest_get_host_name(gconstpointer fix) in test_qga_guest_get_host_name() argument
988 const TestFixture *fixture = fix; in test_qga_guest_get_host_name()
1000 static void test_qga_guest_get_timezone(gconstpointer fix) in test_qga_guest_get_timezone() argument
1002 const TestFixture *fixture = fix; in test_qga_guest_get_timezone()
1015 static void test_qga_guest_get_users(gconstpointer fix) in test_qga_guest_get_users() argument
1017 const TestFixture *fixture = fix; in test_qga_guest_get_users()
1084 TestFixture fix; in main() local
1096 fixture_setup(&fix, NULL, NULL); in main()
1098 g_test_add_data_func("/qga/sync-delimited", &fix, test_qga_sync_delimited); in main()
1099 g_test_add_data_func("/qga/sync", &fix, test_qga_sync); in main()
1100 g_test_add_data_func("/qga/ping", &fix, test_qga_ping); in main()
1101 g_test_add_data_func("/qga/info", &fix, test_qga_info); in main()
1102 g_test_add_data_func("/qga/network-get-interfaces", &fix, in main()
1105 g_test_add_data_func("/qga/get-vcpus", &fix, test_qga_get_vcpus); in main()
1107 g_test_add_data_func("/qga/get-fsinfo", &fix, test_qga_get_fsinfo); in main()
1108 g_test_add_data_func("/qga/get-memory-block-info", &fix, in main()
1110 g_test_add_data_func("/qga/get-memory-blocks", &fix, in main()
1112 g_test_add_data_func("/qga/file-ops", &fix, test_qga_file_ops); in main()
1113 g_test_add_data_func("/qga/file-write-read", &fix, test_qga_file_write_read); in main()
1114 g_test_add_data_func("/qga/get-time", &fix, test_qga_get_time); in main()
1115 g_test_add_data_func("/qga/id", &fix, test_qga_id); in main()
1116 g_test_add_data_func("/qga/invalid-oob", &fix, test_qga_invalid_oob); in main()
1117 g_test_add_data_func("/qga/invalid-cmd", &fix, test_qga_invalid_cmd); in main()
1118 g_test_add_data_func("/qga/invalid-args", &fix, test_qga_invalid_args); in main()
1119 g_test_add_data_func("/qga/fsfreeze-status", &fix, in main()
1125 g_test_add_data_func("/qga/guest-exec", &fix, test_qga_guest_exec); in main()
1126 g_test_add_data_func("/qga/guest-exec-separated", &fix, in main()
1128 g_test_add_data_func("/qga/guest-exec-merged", &fix, in main()
1130 g_test_add_data_func("/qga/guest-exec-invalid", &fix, in main()
1132 g_test_add_data_func("/qga/guest-get-osinfo", &fix, in main()
1134 g_test_add_data_func("/qga/guest-get-host-name", &fix, in main()
1136 g_test_add_data_func("/qga/guest-get-timezone", &fix, in main()
1138 g_test_add_data_func("/qga/guest-get-users", &fix, in main()
1143 fixture_tear_down(&fix, NULL); in main()