Wireshark-commits: [Wireshark-commits] rev 49086: /trunk-1.6/tools/ /trunk-1.6/tools/: fuzz-test.sh
Date: Mon, 29 Apr 2013 20:26:45 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=49086

User: gerald
Date: 2013/04/29 01:26 PM

Log:
 Copy over tools/fuzz-test.sh from the 1.8 branch, which includes the
 following changes:
 
   ------------------------------------------------------------------------
   r47305 | gerald | 2013-01-26 12:12:52 -0800 (Sat, 26 Jan 2013) | 6 lines
   
   Instead of setting resource limits on the fuzz-test.sh process itself,
   set limits on the TShark subprocess. This should hopefully take care
   of the strange fuzz failures we've seen lately.
   
   Reduce the maximum CPU time to 5 minutes while we're at it.
   
   ------------------------------------------------------------------------
   r47287 | gerald | 2013-01-25 15:06:52 -0800 (Fri, 25 Jan 2013) | 4 lines
   
   Temporarily run "ps" after fuzzing to show the cumulative CPU time.
   Hopefully this will shed some light on the recent "CPU time limit
   exceeded" errors.
   
   ------------------------------------------------------------------------
   r42295 | morriss | 2012-04-27 10:58:06 -0700 (Fri, 27 Apr 2012) | 1 line
   
   Fix r42293: Make the script actually fail when tshark fails: use a new variable to indicate when we've caught a signal rather than (re-)using MAX_PASSES.
   ------------------------------------------------------------------------
   r42293 | morriss | 2012-04-27 09:58:21 -0700 (Fri, 27 Apr 2012) | 1 line
   
   Get the script working again in the "unlimited passes" mode.
   ------------------------------------------------------------------------
   r42134 | gerald | 2012-04-18 09:10:08 -0700 (Wed, 18 Apr 2012) | 2 lines
   
   Terminate our inner loops as well.
   
   ------------------------------------------------------------------------
   r42133 | gerald | 2012-04-18 09:04:05 -0700 (Wed, 18 Apr 2012) | 3 lines
   
   Tell the main loop to terminate when we catch a signal instead of trying
   to clean up in two places.
   
   ------------------------------------------------------------------------
   r37513 | gerald | 2011-06-01 14:56:11 -0700 (Wed, 01 Jun 2011) | 2 lines
   
   Exit if we don't have enough plugins.
   
   ------------------------------------------------------------------------
   r37509 | guy | 2011-06-01 09:23:51 -0700 (Wed, 01 Jun 2011) | 2 lines
   
   Remove the temporary debugging stuff.
   
   ------------------------------------------------------------------------
   r37504 | guy | 2011-06-01 02:12:10 -0700 (Wed, 01 Jun 2011) | 4 lines
   
   Temporary debugging stuff to see in what environment tshark is being
   run - the plugins might not be getting loaded, and the goal is to figure
   out why.
   
   ------------------------------------------------------------------------
 
 Remove the minimum plugin check since Tshark 1.6 doesn't support it.

Directory: /trunk-1.6/tools/
  Changes    Path            Action
  +24 -15    fuzz-test.sh    Modified