ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: Re: [Ethereal-dev] Banish ALL kinds of g_assert from epan (dissector) code?

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Gerald Combs <gerald@xxxxxxxxxxxx>
Date: Wed, 23 Mar 2005 15:21:10 -0600
Ulf Lamping wrote:
> Guy Harris wrote:
> 
> 
>>The buildbot dissection tests should probably check for "Dissector
>>bug" messages in the standard error (I'm assuming that g_warning()
>>writes its output to the standard error; if not, it'd have to check
>>for that in the standard output), so that if a dissector bug is found,
>>it'll get reported.
> 
> 
> This was one of the things I thought about an easy way to handle that.
> 
> But yes, your solution seems to be an easy and solid way to handle this,
> although I don't know buildbot well if it's easy to implement.

The "random" test script should now catch "Dissector bug" messages on
stderr and act accordingly.