]> git.proxmox.com Git - mirror_qemu.git/blobdiff - tests/test-qga.c
tests/9pfs: add local Tmkdir test
[mirror_qemu.git] / tests / test-qga.c
index 4ac4c221095b075dbdd9b36fa715b9637786530d..c1b173b3cb21bc5bd939f870ee6bc1cfea0db850 100644 (file)
@@ -4,7 +4,7 @@
 #include <sys/socket.h>
 #include <sys/un.h>
 
-#include "libqos/libqtest.h"
+#include "qtest/libqos/libqtest.h"
 #include "qapi/qmp/qdict.h"
 #include "qapi/qmp/qlist.h"
 
@@ -246,7 +246,7 @@ static void test_qga_invalid_oob(gconstpointer fix)
     ret = qmp_fd(fixture->fd, "{'exec-oob': 'guest-ping'}");
     g_assert_nonnull(ret);
 
-    qmp_assert_error_class(ret, "GenericError");
+    qmp_expect_error_and_unref(ret, "GenericError");
 }
 
 static void test_qga_invalid_args(gconstpointer fix)