aboutsummaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2011-05-12"tshark -D" writes to stderr now.Gerald Combs1-1/+1
svn path=/trunk/; revision=37092
2010-07-01TShark now exits with a status of 1 for an invalid interface or captureGuy Harris1-2/+2
filter; check for that, rather than for a status of 0. svn path=/trunk/; revision=33397
2010-06-05Clean up indentation.Guy Harris1-2/+2
svn path=/trunk/; revision=33104
2010-06-01capture() can, in some cases, return FALSE when the capture succeeds;Guy Harris1-2/+2
back out the change to check its return value until we fix that. Also back out the test suite changes to look for an error exit for invalid capture filters and interfaces. svn path=/trunk/; revision=33029
2010-05-28Use return rather than exit in main().Guy Harris1-2/+2
Return 2 for a capture error - we mainly use 1 for command-line syntax errors (rather than, say, filter syntax errors or an invalid interface). Now that TShark exits with an error status when given an invalid capture filter or invalid interface, check for "error" rather than "success" as an exit status. svn path=/trunk/; revision=33006
2010-05-07-I is now a valid TShark option (at least if you have libpcap 1.x).Guy Harris1-1/+1
svn path=/trunk/; revision=32708
2010-03-01"Unit tests" is two words (at least in English).Guy Harris1-1/+1
svn path=/trunk/; revision=32072
2009-09-22-P is no longer invalid. We use it for the 'two pass analysis'Kovarththanan Rajaratnam1-1/+1
svn path=/trunk/; revision=30083
2009-07-28Update the adapter name check to match the buildbot.Gerald Combs1-1/+1
svn path=/trunk/; revision=29221
2009-05-11test.sh: revise tests to handle revised capinfos output.Bill Meier2-9/+9
svn path=/trunk/; revision=28332
2008-04-13add a comment that the ping code is running in the background (that caused ↵Ulf Lamping1-1/+3
me some headache :-) change the ping packet length, so the last packet will have exactly 100 bytes (at least on Windows) svn path=/trunk/; revision=24998
2008-04-13fix a commentUlf Lamping1-1/+1
svn path=/trunk/; revision=24980
2008-04-13update some prerequisitesUlf Lamping1-3/+3
svn path=/trunk/; revision=24979
2008-02-24OK: comment out gathering of debug info; nothing interesting.Bill Meier1-6/+6
svn path=/trunk/; revision=24451
2008-02-23Add some debug info to help in diagnosing buildbot 'run tests' failuresBill Meier3-9/+48
svn path=/trunk/; revision=24447
2007-11-29Is ping not installed on the Solaris buildbot, or does the path of theGuy Harris1-1/+1
script not include /usr/sbin, or is ping installed somewhere other than where it is on my Solaris "machine"? Try explicitly running it as /usr/sbin/ping on Solaris. svn path=/trunk/; revision=23670
2007-11-23fix a comment: manifest files are now embedded into .exe / .dll files, no ↵Ulf Lamping1-1/+1
need to copy them svn path=/trunk/; revision=23547
2007-11-23because of the privilege separation done, read filters won't work by ↵Ulf Lamping1-1/+2
definition now. Comment out the corresponding test case svn path=/trunk/; revision=23546
2007-11-08Move SKIP_CAPTURE from suite-capture.sh to config.sh so that we can use itGerald Combs3-15/+16
in suite-clopts as well. Allow it to be set externally. This should fix the "test" failure in the Solairs builder. svn path=/trunk/; revision=23399
2007-10-09As requested on -dev, put the (currently failing) 'Capture 10 packets using ↵Jeff Morriss1-1/+1
stdout' test back in for tshark svn path=/trunk/; revision=23110
2007-10-09alpha -> betaUlf Lamping1-1/+1
svn path=/trunk/; revision=23107
2007-10-08Temporarily disable 'Capture 10 packets using stdout' test for tshark until ↵Jeff Morriss1-1/+1
we can get that working svn path=/trunk/; revision=23095
2007-09-28Support Solaris along with Windows.Gerald Combs1-7/+20
svn path=/trunk/; revision=23020
2007-08-28Re-enable capture tests now that a a dumpcap problem has been corrected.Bill Meier1-3/+3
svn path=/trunk/; revision=22708
2007-08-27Re-enable unittests after determining that they work correctly Bill Meier1-3/+3
on Windows (and shouldn't cause the Windows buildbot any problems). svn path=/trunk/; revision=22686
2007-08-27Prevent execution of the fifo tests on Windows.Bill Meier1-3/+6
(Windows cygwin has a mkfifo but Windows dumpcap & etc use Windows named pipes which are different than the cygwin named pipes). svn path=/trunk/; revision=22685
2007-08-25Disable capture tests and unit tests until possible issues corrected.Bill Meier2-6/+6
Hopefully the windows buildbot will be OK with these tests disabled temporarily. svn path=/trunk/; revision=22660
2007-08-24do the fifo test on platforms where mkfifo is availableRichard van der Hoff1-3/+6
svn path=/trunk/; revision=22640
2007-05-17Try this again (with a longer timeout and more diagnostic info)Bill Meier2-6/+13
svn path=/trunk/; revision=21811
2007-05-15Capture tests using Wireshark seem to be causing a problem; disable them for ↵Bill Meier1-1/+1
now. svn path=/trunk/; revision=21791
2007-04-24Addt'l fixes so suite-unittests will run under windowsBill Meier1-3/+4
svn path=/trunk/; revision=21546
2007-04-24Use correct install target: 'make ..._install (and not 'make 'install_...')Bill Meier1-1/+1
svn path=/trunk/; revision=21545
2007-04-19fix typosRichard van der Hoff1-3/+3
svn path=/trunk/; revision=21476
2007-04-18following advice from Gerald, Graham Bloice, and others, let's try copying ↵Richard van der Hoff1-1/+14
the unit test executables into the wireshark-gtk2 directory before running them. svn path=/trunk/; revision=21472
2007-04-07that didn't help. try skipping the exntest to see if it's just that one.Richard van der Hoff1-6/+3
svn path=/trunk/; revision=21350
2007-04-07make the unit tests spam their output, in an attempt yo understand wtf the ↵Richard van der Hoff1-3/+6
matter with the buildbot is svn path=/trunk/; revision=21349
2007-04-03another go at fixing the unit tests under windows - give a -f Makefile.nmake argRichard van der Hoff1-1/+1
svn path=/trunk/; revision=21314
2007-04-03hopefully fix this for win32 by using nmakeRichard van der Hoff1-1/+7
svn path=/trunk/; revision=21312
2007-04-03Propset suite-unittests.sh and add executable to .sh filesJörg Mayer7-0/+0
svn path=/trunk/; revision=21311
2007-04-03Run the epan unittests as part of the test suiteRichard van der Hoff2-0/+73
svn path=/trunk/; revision=21309
2007-03-06Under Windows, try to use the first interface that looks like EthernetGerald Combs1-1/+7
as the capture interface. This should fix the capture test failures on the Windows builder. svn path=/trunk/; revision=20989
2007-02-05Additoinal diagnostic info in output logsBill Meier1-6/+21
svn path=/trunk/; revision=20715
2007-01-28Now need to use interface #2 ??Bill Meier1-1/+1
svn path=/trunk/; revision=20590
2007-01-28Add some debug output so can see why failure when buildbot runs this scriptBill Meier1-5/+24
svn path=/trunk/; revision=20589
2006-12-28Hack so test.sh will work with bash 3.1.6 or greaterBill Meier1-0/+3
which requires 'igncr' to be able to process files in 'dos format' (\r\n line endings) svn path=/trunk/; revision=20229
2006-12-22OK: I think I've fixed most of the problems in Bill Meier1-22/+7
suite-capture.sh which were causing some of tests to fail; The stdout tests still tend to fail: some issue with flushing the stdout pipe ?? svn path=/trunk/; revision=20200
2006-12-22Use interface '1' for the capture tests; Bill Meier2-3/+27
Add additional error output in case any other problems svn path=/trunk/; revision=20197
2006-12-22Add additional output to try to find out why the "capture 10 Bill Meier1-5/+12
packets" test fails during the run-tests step of the buildbot windows build ... svn path=/trunk/; revision=20191
2006-12-11The capture test suite currently fails on quiet networks. Try to fixGerald Combs2-12/+53
this by generating some ICMP packets before each test. Add an "icmp" capture filter to each test to better control the test conditions. Fixup whitespace. svn path=/trunk/; revision=20115
2006-10-10Add command-line options: -c disables color, -h prints help, -s runsGerald Combs2-8/+56
a suite. svn path=/trunk/; revision=19479