test: reduce further influence from the environment
authorPeter Wu <peter@lekensteyn.nl>
Fri, 12 Oct 2018 16:12:01 +0000 (18:12 +0200)
committerAnders Broman <a.broman58@gmail.com>
Fri, 12 Oct 2018 18:55:04 +0000 (18:55 +0000)
commit460c26516a3288a003aeeb01da35bf5cb6f210ad
tree9ee74a3b0ca281644f59ec2a382aaf4b50178c89
parentfe9dcc1647250d68b34d0222250d985f2fff724b
test: reduce further influence from the environment

Some tests used the default home directory which can have side-effects
(such as loading plugins, loading deprecated preferences). These could
cause tests to fail. Always use a sane environment to fix this.

Change getTsharkInfo to use this clean environment as well
(WIRESHARK_CONFIG_DIR does not exist with master-2.6 and would also not
propagate things like ASAN_OPTIONS=detect_leaks=0).

Change-Id: I1674f71972d35de91d191e0c29fdb59b8a0a56ce
Reviewed-on: https://code.wireshark.org/review/30165
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
test/config.py
test/suite_clopts.py
test/suite_text2pcap.py