diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-06-23 00:21:20 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-06-23 07:21:49 +0000 |
commit | 7cdd22f422130bacad7e9c29ff0ba3dca0ad7db9 (patch) | |
tree | 257055a070da554ea34021079ceb957acde08ecc /test | |
parent | 74c5ab0ff240edc1fd3f478128b378a0a0502190 (diff) | |
download | wireshark-7cdd22f422130bacad7e9c29ff0ba3dca0ad7db9.tar.gz |
Try to catch TShark crashing and get a stack trace.
It's currently crashing in the Solaris buildbot when we do "tshark -v";
hopefully this will give us something more useful than
test.sh: line 144: 21543 Abort (core dumped) $TSHARK -v
"Version information" Failed!
Failed to print version information
Binary file ./core matches
as a diagnostic.
Change-Id: I278c8dd9f6acf5ddfa83bc0a7f3f7a3c48577ac2
Reviewed-on: https://code.wireshark.org/review/9052
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'test')
-rwxr-xr-x | test/test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.sh b/test/test.sh index b5f9e51ed8..8ab9259d45 100755 --- a/test/test.sh +++ b/test/test.sh @@ -143,7 +143,7 @@ test_step_prerequisites() { # Dump version information test_step_tshark_version() { test_remark_add "Printing TShark version" - $TSHARK -v + $TESTS_DIR/run_and_catch_crashes $TSHARK -v RETURNVALUE=$? if [ ! $RETURNVALUE -eq $EXIT_OK ]; then test_step_failed "Failed to print version information" |