[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 07/10] tests: Add basic migration precopy tcp tes
From: |
Juan Quintela |
Subject: |
[Qemu-devel] [PATCH v2 07/10] tests: Add basic migration precopy tcp test |
Date: |
Thu, 26 Oct 2017 09:52:19 +0200 |
Signed-off-by: Juan Quintela <address@hidden>
---
tests/migration-test.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/tests/migration-test.c b/tests/migration-test.c
index a8718770c9..338254bafe 100644
--- a/tests/migration-test.c
+++ b/tests/migration-test.c
@@ -620,6 +620,13 @@ static void test_precopy_unix(void)
g_free(uri);
}
+static void test_precopy_tcp(void)
+{
+ const char *uri = "tcp:0:44444";
+
+ test_precopy(uri);
+}
+
int main(int argc, char **argv)
{
char template[] = "/tmp/migration-test-XXXXXX";
@@ -640,6 +647,7 @@ int main(int argc, char **argv)
module_call_init(MODULE_INIT_QOM);
qtest_add_func("/migration/precopy/unix", test_precopy_unix);
+ qtest_add_func("/migration/precopy/tcp", test_precopy_tcp);
qtest_add_func("/migration/postcopy/unix", test_postcopy);
ret = g_test_run();
--
2.13.6
- [Qemu-devel] [PATCH v2 04/10] tests: Don't abuse global_qtest, (continued)
- [Qemu-devel] [PATCH v2 04/10] tests: Don't abuse global_qtest, Juan Quintela, 2017/10/26
- [Qemu-devel] [PATCH v2 03/10] tests: Factorize out migrate_test_start/end, Juan Quintela, 2017/10/26
- [Qemu-devel] [PATCH v2 05/10] tests: check that migration parameters are really assigned, Juan Quintela, 2017/10/26
- [Qemu-devel] [PATCH v2 07/10] tests: Add basic migration precopy tcp test,
Juan Quintela <=
- [Qemu-devel] [PATCH v2 06/10] tests: Add migration precopy test, Juan Quintela, 2017/10/26
- [Qemu-devel] [PATCH v2 08/10] tests: Add precopy test using deprecated commands, Juan Quintela, 2017/10/26
- [Qemu-devel] [PATCH v2 09/10] tests: Add migration xbzrle test, Juan Quintela, 2017/10/26
- [Qemu-devel] [PATCH v2 10/10] [RFH] tests: Add migration compress threads tests, Juan Quintela, 2017/10/26