+ DO_TEST_ATTACH_CONFIG("base-config",
"qemu-agent", false, true,
+ "chardev-add", QMP_OK,
+ "device_add", QMP_OK);
+ DO_TEST_DETACH_CONFIG("base-config", "qemu-agent", false,
false,
+ "device_del", QMP_OK,
+ "chardev-remove", QMP_OK);
+
The indentation is broken here (a few spaces are missing), because
I forgot to fix it in this place after adding the _CONFIG suffix.