Wireshark-commits: [Wireshark-commits] master 3ff5afd: Add a test to verify we pre-allocated enough
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 23 Sep 2015 20:09:46 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=3ff5afd54131dc611ac08cf4f256a7c081c0cbb3
Submitter: Alexis La Goutte (alexis.lagoutte@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

3ff5afd by Jeff Morriss (jeff.morriss.ws@xxxxxxxxx):

    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@xxxxxxxxx>
    

Actions performed:

    from  66de69a   Use the Qt-provided media icons.
    adds  3ff5afd   Add a test to verify we pre-allocated enough hf entries.


Summary of changes:
 epan/proto.c            |   28 +++++++++++++++++++---------
 epan/proto.h            |    5 +++--
 test/suite-unittests.sh |    7 +++++++
 tshark.c                |    7 ++++---
 4 files changed, 33 insertions(+), 14 deletions(-)