tests: Change to parse dynamically allocated ports on windows.
authorGurucharan Shetty <gshetty@nicira.com>
Mon, 12 May 2014 22:30:41 +0000 (15:30 -0700)
committerGurucharan Shetty <gshetty@nicira.com>
Thu, 15 May 2014 22:08:56 +0000 (15:08 -0700)
commitecaf2f5c2f38d78a85ce6e8e895e288caff457a2
treef9a470715b814264ec67ef4266708da1cc4c26d4
parentc17b52e8c3a97de1aaae8d940e0df4179912fd10
tests: Change to parse dynamically allocated ports on windows.

In Windows, we use kernel assigned TCP port for ssl/tcp and
unixctl. In tests, we parse the log files of ovsdb-server.log,
test-sflow.log and test-netflow.log to get this port. In all
the above cases, tcp port is allocated first and then the unixctl port.
So a 'head -1' on the result should be safe.

Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
tests/ofproto-dpif.at
tests/ofproto-macros.at
tests/ovsdb-idl.at
tests/ovsdb-server.at