aboutsummaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2011-08-29Replace "-Q" with "WIRESHARK_QUIT_AFTER_CAPTURE" as discussed in bug 6256.Gerald Combs2-2/+6
svn path=/trunk/; revision=38784
2011-07-21Undo the checking of command line interfaces. It might the a pipe...Michael Tüxen1-1/+1
svn path=/trunk/; revision=38146
2011-07-21Adopt test to new error handling.Michael Tüxen1-1/+1
svn path=/trunk/; revision=38145
2011-07-11Use the proper function name.Gerald Combs1-1/+1
svn path=/trunk/; revision=37982
2011-07-01Re-enable Cygwin's error_start environment variable.Gerald Combs1-1/+1
svn path=/trunk/; revision=37860
2011-07-01Comment out the addtion of error_start to CYGWIN in case it's clobberingGerald Combs1-1/+1
Jakub's change in r37857. svn path=/trunk/; revision=37858
2011-07-01Fix indentation.Gerald Combs1-1/+1
svn path=/trunk/; revision=37855
2011-07-01Tell Cygwin to create a core file if we run into any issues.Gerald Combs1-0/+1
svn path=/trunk/; revision=37852
2011-06-30Temporarily enable dumpcap debugging.Gerald Combs1-1/+1
svn path=/trunk/; revision=37844
2011-06-30Remove tracing.Gerald Combs1-2/+0
svn path=/trunk/; revision=37838
2011-06-29Temporarily enable tracing for the stdin capture step.Gerald Combs1-0/+2
svn path=/trunk/; revision=37837
2011-06-28Add more error output to try to see what's causing the current test failureGerald Combs1-12/+13
on the XP buildbot. Use "capture_test_output_print" instead of "cat". svn path=/trunk/; revision=37825
2011-06-27Update suite-clopts.sh to match dumpcap's error output. Add a commentGerald Combs1-1/+1
to dumpcap.c about keeping the errors synced. svn path=/trunk/; revision=37805
2011-06-23Add a check for TShark's return status.Gerald Combs1-0/+6
svn path=/trunk/; revision=37774
2011-05-31Try adding the fifo step to Wireshark. Clean up the order of tests.Gerald Combs1-1/+4
svn path=/trunk/; revision=37485
2011-05-26Add a "capture from stdin" test.Gerald Combs1-1/+35
svn path=/trunk/; revision=37416
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