Test: Fix capinfos output and command paths.
authorGerald Combs <gerald@wireshark.org>
Tue, 1 May 2018 16:09:27 +0000 (09:09 -0700)
committerGerald Combs <gerald@wireshark.org>
Tue, 1 May 2018 18:46:13 +0000 (18:46 +0000)
commit74fd56901883d29a68cc2bcb65f2ba44007d4107
treeb83b2795148c034ad810dbf56b3b219635832901
parent48ab9adbd5bd1b111acf4e36825a99e280b5411c
Test: Fix capinfos output and command paths.

Convert capinfos output to UTF-8 in getCaptureInfo.

Normalize our command paths, otherwise "./run/RelWithDebInfo/..." might
be interpreted as the command "." with flags "/run", "/RelWithDebInfo",
etc. on Windows.

Change-Id: Ib7336a016db3ee0805739fc44913cb9c6895aaad
Reviewed-on: https://code.wireshark.org/review/27239
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
test/config.py
test/subprocesstest.py
test/suite_text2pcap.py