From: Oksana Vohchana Date: Wed, 25 Mar 2020 11:31:37 +0000 (+0200) Subject: Acceptance test: Fix to EXEC migration X-Git-Tag: v5.0.0-rc2~6^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=002b24c0c72843576801c1da728df1fa872f5e20;p=thirdparty%2Fqemu.git Acceptance test: Fix to EXEC migration The exec migration test isn't run a whole test scenario. This patch fixes it Fixes: 2e768cb682bf Signed-off-by: Oksana Vohchana Reviewed-by: Philippe Mathieu-Daudé Tested-by: Wainer dos Santos Moschetta Message-Id: <20200325113138.20337-1-ovoshcha@redhat.com> Signed-off-by: Philippe Mathieu-Daudé --- diff --git a/tests/acceptance/migration.py b/tests/acceptance/migration.py index a8367ca023f..0365289cda8 100644 --- a/tests/acceptance/migration.py +++ b/tests/acceptance/migration.py @@ -70,8 +70,8 @@ class Migration(Test): @skipUnless(find_command('nc', default=False), "'nc' command not found") def test_migration_with_exec(self): - """ - The test works for both netcat-traditional and netcat-openbsd packages - """ + """The test works for both netcat-traditional and netcat-openbsd packages.""" free_port = self._get_free_port() dest_uri = 'exec:nc -l localhost %u' % free_port + src_uri = 'exec:nc localhost %u' % free_port + self.do_migrate(dest_uri, src_uri)