aboutsummaryrefslogtreecommitdiffstats
path: root/tools/randpkt-test.sh
AgeCommit message (Collapse)AuthorFilesLines
2014-03-30Fix fuzz-test.sh '-b' option so it works again; Do some other ↵Bill Meier1-15/+8
tools/*test*.sh changes - Add -b option to randpkt-test.sh and test-captures.sh; - Create/ue a common function to do '-x' tests on files/dirs; - Rename exit_error function to ws_exit_error Change-Id: I032c9d784bec1fb6b0717aaad08a061e4d935476 Reviewed-on: https://code.wireshark.org/review/872 Reviewed-by: Bill Meier <wmeier@newsguy.com> Tested-by: Bill Meier <wmeier@newsguy.com>
2014-02-14Remove $Id$ and other Subversion leftovers from the tools.Jeff Morriss1-2/+0
There are a few things in here which could still use attention. Don't regenerate anything now. Change-Id: I283c224d3523212144707fca3d6265916cb11792 Reviewed-on: https://code.wireshark.org/review/205 Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2013-07-08Include the output (fuzz'd) file name in the output when fuzz (or randpkt)Jeff Morriss1-3/+0
testing fails. Useful for when you want to use up a few spare CPU cores running multiple simultaneous fuzz tests... svn path=/trunk/; revision=50449
2013-05-30Exit if we can't load the test-common.sh library.Jeff Morriss1-1/+1
svn path=/trunk/; revision=49625
2013-01-26Forward-port r47305 from trunk-1.8:Gerald Combs1-2/+10
------------------------------------------------------------------------ r47305 | gerald | 2013-01-26 12:12:52 -0800 (Sat, 26 Jan 2013) | 6 lines Changed paths: M /trunk-1.8/tools/fuzz-test.sh 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. ------------------------------------------------------------------------ svn path=/trunk/; revision=47307
2012-12-07Move a lot of common fuzz-test and randpkt-test code to its own fileGerald Combs1-54/+3
(test-common.sh). Add build information to the error output as suggested in http://www.wireshark.org/lists/wireshark-dev/201212/msg00037.html svn path=/trunk/; revision=46446
2012-10-09If our error output is huge (> 5 MB) trim out the middle of the file.Gerald Combs1-0/+9
The recent loop bugs have generated output that's too large to attach to Bugzilla. svn path=/trunk/; revision=45437
2012-10-03Add the command and arguments to the error file.Gerald Combs1-1/+3
svn path=/trunk/; revision=45294
2012-10-03Fix return code checking (hopefully).Gerald Combs1-1/+1
svn path=/trunk/; revision=45289
2012-10-02Test with the presence (-nVxr) and absence (-nr) of the tree. We nowGerald Combs1-5/+11
use an array of arguments so additional combinations can be added. svn path=/trunk/; revision=45258
2012-09-05Run 'git log' if we have a .git directory. Fixes a copy+paste error.Gerald Combs1-1/+1
svn path=/trunk/; revision=44784
2012-08-19Don't go into a tight loop when there's no specific number of passes.Evan Huus1-17/+19
Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7651 Also, use consistent indentation. svn path=/trunk/; revision=44581
2012-08-19From Toralf Förster via ↵Evan Huus1-1/+1
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7652 Use a fast bash built-in rather than a slow call out to `expr` to increment the loop count. svn path=/trunk/; revision=44580
2012-08-17Move error reporting to a common function. Lot information about the Gerald Combs1-8/+21
most recent revision / commit. svn path=/trunk/; revision=44552
2012-04-18Terminate our inner loops as well.Gerald Combs1-0/+1
svn path=/trunk/; revision=42134
2012-04-18Tell the main loop to terminate when we catch a signal instead of tryingGerald Combs1-2/+1
to clean up in two places. svn path=/trunk/; revision=42133
2010-07-07Make sure we use the "randpkt-" prefix everywhere.Gerald Combs1-1/+1
svn path=/trunk/; revision=33468
2006-08-04It's not only executable but a script as well: propset eol-style + keywordsJörg Mayer1-1/+1
svn path=/trunk/; revision=18837
2006-08-02Make the output file name a little more descriptive.Gerald Combs1-1/+1
svn path=/trunk/; revision=18828
2006-08-02Add a script for randpkt testing. Copied from fuzz-test.sh.Gerald Combs1-0/+121
svn path=/trunk/; revision=18824