diff options
author | Gerald Combs <gerald@wireshark.org> | 2012-04-12 01:48:44 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2012-04-12 01:48:44 +0000 |
commit | 6e009a575ce5c18f9f36e1ba16b11f8bdf0fb9d6 (patch) | |
tree | 1eafa387df53331da2cefd37e401d1f915f91ec5 /test | |
parent | bcd7b234351859167a3b50e24728f8403a16387a (diff) | |
download | wireshark-6e009a575ce5c18f9f36e1ba16b11f8bdf0fb9d6.tar.gz wireshark-6e009a575ce5c18f9f36e1ba16b11f8bdf0fb9d6.tar.bz2 wireshark-6e009a575ce5c18f9f36e1ba16b11f8bdf0fb9d6.zip |
Print the TShark version information during the prerequisite phase.
svn path=/trunk/; revision=42029
Diffstat (limited to 'test')
-rwxr-xr-x | test/test.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/test.sh b/test/test.sh index c7bd4fcce8..55c74ef70b 100755 --- a/test/test.sh +++ b/test/test.sh @@ -90,9 +90,22 @@ test_step_prerequisites() { fi } +# Dump version information +test_step_tshark_version() { + test_remark_add "Printing TShark version" + $TSHARK -v + RETURNVALUE=$? + if [ ! $RETURNVALUE -eq $EXIT_OK ]; then + test_step_failed "Failed to print version information" + return + fi + test_step_ok +} + prerequisites_suite() { test_step_add "Prerequisites settings" test_step_prerequisites + test_step_add "Version information" test_step_tshark_version } test_suite() { |