summaryrefslogtreecommitdiff
path: root/test/test.sh
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2012-04-12 01:48:44 +0000
committerGerald Combs <gerald@wireshark.org>2012-04-12 01:48:44 +0000
commit6e009a575ce5c18f9f36e1ba16b11f8bdf0fb9d6 (patch)
tree1eafa387df53331da2cefd37e401d1f915f91ec5 /test/test.sh
parentbcd7b234351859167a3b50e24728f8403a16387a (diff)
downloadwireshark-6e009a575ce5c18f9f36e1ba16b11f8bdf0fb9d6.tar.gz
Print the TShark version information during the prerequisite phase.
svn path=/trunk/; revision=42029
Diffstat (limited to 'test/test.sh')
-rwxr-xr-xtest/test.sh13
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() {