]> granicus.if.org Git - curl/commit
tests: support non-localhost HOSTIP for dict/smb servers
authorStephan Szabo <stephan.szabo@sony.com>
Wed, 19 Jun 2019 22:54:18 +0000 (15:54 -0700)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 20 Jun 2019 06:33:13 +0000 (08:33 +0200)
commit2aff76c571e72d78af690e5fd6ba11642fb06f14
tree54ae938a15c3f530ec8d4af0525b055148b0d954
parentcf35bd79bdbe7b2155c87ed5a5da7815367ec9de
tests: support non-localhost HOSTIP for dict/smb servers

smbserver.py/dictserver.py were explicitly using localhost/127.0.0.1 for
binding the server which when we were running the tests with a separate
HOSTIP and CLIENTIP had failures verifying the server from the device we
were testing.

This changes them to take the address from runtests.py and default to
localhost/127.0.0.1 if none is given.

Closes #4048
tests/dictserver.py
tests/runtests.pl
tests/smbserver.py