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_load(gconstpointer fix) in test_qga_get_load() argument
337 const TestFixture *fixture = fix; in test_qga_get_load()
351 static void test_qga_get_memory_block_info(gconstpointer fix) in test_qga_get_memory_block_info() argument
353 const TestFixture *fixture = fix; in test_qga_get_memory_block_info()
370 static void test_qga_get_memory_blocks(gconstpointer fix) in test_qga_get_memory_blocks() argument
372 const TestFixture *fixture = fix; in test_qga_get_memory_blocks()
393 static void test_qga_network_get_interfaces(gconstpointer fix) in test_qga_network_get_interfaces() argument
395 const TestFixture *fixture = fix; in test_qga_network_get_interfaces()
410 static void test_qga_file_ops(gconstpointer fix) in test_qga_file_ops() argument
412 const TestFixture *fixture = fix; in test_qga_file_ops()
550 static void test_qga_file_write_read(gconstpointer fix) in test_qga_file_write_read() argument
552 const TestFixture *fixture = fix; in test_qga_file_write_read()
635 static void test_qga_get_time(gconstpointer fix) in test_qga_get_time() argument
637 const TestFixture *fixture = fix; in test_qga_get_time()
651 TestFixture fix; in test_qga_blockedrpcs() local
655 fixture_setup(&fix, "-b guest-ping,guest-get-time", NULL); in test_qga_blockedrpcs()
658 ret = qmp_fd(fix.fd, "{'execute': 'guest-ping'}"); in test_qga_blockedrpcs()
667 ret = qmp_fd(fix.fd, "{'execute': 'guest-get-time'}"); in test_qga_blockedrpcs()
677 ret = qmp_fd(fix.fd, "{'execute': 'guest-get-fsinfo'}"); in test_qga_blockedrpcs()
681 fixture_tear_down(&fix, NULL); in test_qga_blockedrpcs()
686 TestFixture fix; in test_qga_allowedrpcs() local
690 fixture_setup(&fix, "-a guest-ping,guest-get-time", NULL); in test_qga_allowedrpcs()
693 ret = qmp_fd(fix.fd, "{'execute': 'guest-ping'}"); in test_qga_allowedrpcs()
697 ret = qmp_fd(fix.fd, "{'execute': 'guest-get-time'}"); in test_qga_allowedrpcs()
702 ret = qmp_fd(fix.fd, "{'execute': 'guest-get-fsinfo'}"); in test_qga_allowedrpcs()
711 fixture_tear_down(&fix, NULL); in test_qga_allowedrpcs()
790 static void test_qga_fsfreeze_status(gconstpointer fix) in test_qga_fsfreeze_status() argument
792 const TestFixture *fixture = fix; in test_qga_fsfreeze_status()
829 static void test_qga_guest_exec(gconstpointer fix) in test_qga_guest_exec() argument
831 const TestFixture *fixture = fix; in test_qga_guest_exec()
863 static void test_qga_guest_exec_separated(gconstpointer fix) in test_qga_guest_exec_separated() argument
866 static void test_qga_guest_exec_merged(gconstpointer fix) in test_qga_guest_exec_merged() argument
868 const TestFixture *fixture = fix; in test_qga_guest_exec_merged()
889 static void test_qga_guest_exec_separated(gconstpointer fix) in test_qga_guest_exec_separated() argument
891 const TestFixture *fixture = fix; in test_qga_guest_exec_separated()
931 static void test_qga_guest_exec_merged(gconstpointer fix) in test_qga_guest_exec_merged() argument
933 const TestFixture *fixture = fix; in test_qga_guest_exec_merged()
971 static void test_qga_guest_exec_invalid(gconstpointer fix) in test_qga_guest_exec_invalid() argument
973 const TestFixture *fixture = fix; in test_qga_guest_exec_invalid()
1002 static void test_qga_guest_get_host_name(gconstpointer fix) in test_qga_guest_get_host_name() argument
1004 const TestFixture *fixture = fix; in test_qga_guest_get_host_name()
1016 static void test_qga_guest_get_timezone(gconstpointer fix) in test_qga_guest_get_timezone() argument
1018 const TestFixture *fixture = fix; in test_qga_guest_get_timezone()
1031 static void test_qga_guest_get_users(gconstpointer fix) in test_qga_guest_get_users() argument
1033 const TestFixture *fixture = fix; in test_qga_guest_get_users()
1100 TestFixture fix; in main() local
1112 fixture_setup(&fix, NULL, NULL); in main()
1114 g_test_add_data_func("/qga/sync-delimited", &fix, test_qga_sync_delimited); in main()
1115 g_test_add_data_func("/qga/sync", &fix, test_qga_sync); in main()
1116 g_test_add_data_func("/qga/ping", &fix, test_qga_ping); in main()
1117 g_test_add_data_func("/qga/info", &fix, test_qga_info); in main()
1118 g_test_add_data_func("/qga/network-get-interfaces", &fix, in main()
1121 g_test_add_data_func("/qga/get-vcpus", &fix, test_qga_get_vcpus); in main()
1123 g_test_add_data_func("/qga/get-fsinfo", &fix, test_qga_get_fsinfo); in main()
1124 g_test_add_data_func("/qga/get-load", &fix, test_qga_get_load); in main()
1125 g_test_add_data_func("/qga/get-memory-block-info", &fix, in main()
1127 g_test_add_data_func("/qga/get-memory-blocks", &fix, in main()
1129 g_test_add_data_func("/qga/file-ops", &fix, test_qga_file_ops); in main()
1130 g_test_add_data_func("/qga/file-write-read", &fix, test_qga_file_write_read); in main()
1131 g_test_add_data_func("/qga/get-time", &fix, test_qga_get_time); in main()
1132 g_test_add_data_func("/qga/id", &fix, test_qga_id); in main()
1133 g_test_add_data_func("/qga/invalid-oob", &fix, test_qga_invalid_oob); in main()
1134 g_test_add_data_func("/qga/invalid-cmd", &fix, test_qga_invalid_cmd); in main()
1135 g_test_add_data_func("/qga/invalid-args", &fix, test_qga_invalid_args); in main()
1136 g_test_add_data_func("/qga/fsfreeze-status", &fix, in main()
1142 g_test_add_data_func("/qga/guest-exec", &fix, test_qga_guest_exec); in main()
1143 g_test_add_data_func("/qga/guest-exec-separated", &fix, in main()
1145 g_test_add_data_func("/qga/guest-exec-merged", &fix, in main()
1147 g_test_add_data_func("/qga/guest-exec-invalid", &fix, in main()
1149 g_test_add_data_func("/qga/guest-get-osinfo", &fix, in main()
1151 g_test_add_data_func("/qga/guest-get-host-name", &fix, in main()
1153 g_test_add_data_func("/qga/guest-get-timezone", &fix, in main()
1155 g_test_add_data_func("/qga/guest-get-users", &fix, in main()
1160 fixture_tear_down(&fix, NULL); in main()