aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite-unittests.sh
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2015-09-23 10:14:31 -0400
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2015-09-23 20:09:39 +0000
commit3ff5afd54131dc611ac08cf4f256a7c081c0cbb3 (patch)
tree22f9d3de81455bb78dd16ae44f1a55aed17620d9 /test/suite-unittests.sh
parent66de69aeaee944cf3130dc75fe3ecb7f383be897 (diff)
Add a test to verify we pre-allocated enough hf entries.
This way we'll know as soon as we drop below the pre-allocated limit. As suggested by Graham on https://code.wireshark.org/review/10601 Change-Id: Ieeb14bdcf991d7a67c30787c97ca24ebb35d1763 Reviewed-on: https://code.wireshark.org/review/10627 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'test/suite-unittests.sh')
-rwxr-xr-xtest/suite-unittests.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/suite-unittests.sh b/test/suite-unittests.sh
index 380e875f54..e329902b69 100755
--- a/test/suite-unittests.sh
+++ b/test/suite-unittests.sh
@@ -100,6 +100,12 @@ unittests_step_ftsanity() {
unittests_step_test
}
+unittests_step_fieldcount() {
+ check_dut tshark
+ ARGS="-G fieldcount"
+ unittests_step_test
+}
+
unittests_cleanup_step() {
rm -f ./testout.txt
}
@@ -113,6 +119,7 @@ unittests_suite() {
test_step_add "tvbtest" unittests_step_tvbtest
test_step_add "wmem_test" unittests_step_wmem_test
test_step_add "ftsanity.py" unittests_step_ftsanity
+ test_step_add "field count" unittests_step_fieldcount
}
#
# Editor modelines - http://www.wireshark.org/tools/modelines.html