Просмотр исходного кода

support/testing: test_dropbear.py: drop ssh port forward to the host

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>
Peter Korsgaard 6 лет назад
Родитель
Сommit
092b2b5ada
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      support/testing/tests/package/test_dropbear.py

+ 1 - 1
support/testing/tests/package/test_dropbear.py

@@ -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)