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>
2019.02.x
Peter Korsgaard 2019-02-05 10:45:42 +01:00
parent cc84a0dac6
commit 092b2b5ada
1 changed files with 1 additions and 1 deletions

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