support/testing: test_dropbear.py: drop ssh port forward to the host
authorPeter Korsgaard <peter@korsgaard.com>
Tue, 5 Feb 2019 09:45:42 +0000 (10:45 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 5 Feb 2019 18:04:07 +0000 (19:04 +0100)
It is not used and may conflict with other services running on port 2222 on
the host machine.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
support/testing/tests/package/test_dropbear.py

index ad0f89316c1d58654a042d904bd51b91e959da61..bfec8701f27c920f22db854ce163edcd147c5df3 100644 (file)
@@ -21,7 +21,7 @@ class TestDropbear(infra.basetest.BRTest):
                            kernel="builtin",
                            options=["-initrd", img,
                                     "-net", "nic",
-                                    "-net", "user,hostfwd=tcp::2222-:22"])
+                                    "-net", "user"])
         self.emulator.login(self.passwd)
         cmd = "netstat -ltn 2>/dev/null | grep 0.0.0.0:22"
         _, exit_code = self.emulator.run(cmd)