diff options
author | Peter Wu <peter@lekensteyn.nl> | 2019-01-03 19:28:44 +0100 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2019-01-03 20:59:56 +0000 |
commit | 8dbca7320d98606cedbf720ee38d1982ad9eee24 (patch) | |
tree | e057c898e8445fccb890a1c2fa9959ff829f2005 /test | |
parent | 20ad0ffbaf1d49bf3da50a62c0bed93f765b9e31 (diff) |
test: print command output for dfiltertest failures
The buildbot detects random errors on Windows. Log some more details in
order to understand the problem better.
Change-Id: I903457894985273a63b8907b6784a2897cd93d93
Reviewed-on: https://code.wireshark.org/review/31340
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'test')
-rw-r--r-- | test/suite_dfilter/dfiltertest.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/suite_dfilter/dfiltertest.py b/test/suite_dfilter/dfiltertest.py index 52fb5f9d12..501e53a58f 100644 --- a/test/suite_dfilter/dfiltertest.py +++ b/test/suite_dfilter/dfiltertest.py @@ -30,7 +30,8 @@ def checkDFilterCount(dfilter_cmd, base_env): env=base_env) dfp_count = output.count("\n") - msg = "Expected %d, got: %s" % (expected_count, dfp_count) + msg = "Expected %d, got: %s\noutput: %r" % \ + (expected_count, dfp_count, output) assert dfp_count == expected_count, msg return checkDFilterCount_real |