aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite-capture.sh
AgeCommit message (Collapse)AuthorFilesLines
2016-05-27Test: Revert debugging output.Gerald Combs1-4/+0
Revert "Test: Make capture_step_stdin more verbose." and "Test: more suite-capture debugging." Tests on the Windows 8.1 builder have been passing since recommended OS updates were installed on the 24th. This reverts commits 7f710ef2b54d9eeb06c35ab1bd834f2df0696024 and f52c3c468a508e1e770c32d479cdd761cb412af8. Change-Id: I7cf10a38ba001426baea5fc76a34610c3a26ced2 Reviewed-on: https://code.wireshark.org/review/15590 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2016-04-26Test: capture_step_stdin updates.Gerald Combs1-0/+12
In capture_step_stdin, print information about our test capture if we fail. Change-Id: I046f9d22b1bb2d52d96926f50379ab51e6279eb3 Reviewed-on: https://code.wireshark.org/review/15125 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2016-04-26Test: more suite-capture debugging.Gerald Combs1-0/+2
Change-Id: I94967aeabdf2786868c3f7fce9e95633332d4948 Reviewed-on: https://code.wireshark.org/review/15123 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2016-04-26Test: Make capture_step_stdin more verbose.Gerald Combs1-0/+2
Add some verbosity to the stdin capture test. Hopefully this will shed some light on the Windows 8 builder failures. Change-Id: Ife2bbbaeed7a1e4a7ddd1c1f86322ba25d154f4c Reviewed-on: https://code.wireshark.org/review/15122 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2016-02-03Suite test: fix modelines for bash script (emac)Alexis La Goutte1-1/+1
c-basic-offset -> sh-basic-offset Change-Id: I16b19b608fbdb7f0408f7c31871fae746c8c4f50 Reviewed-on: https://code.wireshark.org/review/13683 Reviewed-by: cedric izoard <cedric.izoard@ceva-dsp.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-12-12Ping on Windows isn't necessarily IPv4-only.Gerald Combs1-5/+5
The default prefix policy on modern versions of Windows prefers IPv6. This in combination with the fact that our ping target (www.wireshark.org) currently has both A and AAAA records might result in ICMPv6 traffic instead of ICMPv4. Update the capture test suite accordingly. Change-Id: I5c88f24fb9458526ffd44c5003f09247b6999ce7 Reviewed-on: https://code.wireshark.org/review/12553 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2014-12-23test suite: fix indent (use tabs) and add modelinesAlexis La Goutte1-2/+2
Change-Id: I648d02d41f92c7fd176ce194eee20a2d19643fe0 Reviewed-on: https://code.wireshark.org/review/5985 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-10-08Try to speed up ping-dependent capture tests.Gerald Combs1-9/+14
Ping four times a second for ~60 seconds. Save the subprocess PID so that we can kill it when we're done with each test instead of waiting for it to finish. Change-Id: I64f889c700e8a6fa1bc1c3916ef045341ef59cc6 Reviewed-on: https://code.wireshark.org/review/4557 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2014-10-03Re-enable the Wireshark test suite.Gerald Combs1-1/+1
Change-Id: Icfd9edb8c6ef7620878bc9d60c8dcc569ad2abad Reviewed-on: https://code.wireshark.org/review/4434 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2014-10-02Partially re-enable Wireshark tests.Gerald Combs1-2/+5
Qt requires Xrender and XKEYBOARD. Unfortunately the Ubuntu and Solaris buildbots run the test script under Xtightvnc, which provides neither of those. Only enable the tests on Windows and OS X for now. Change-Id: I84bc28f810782b862b4dca8fc8df088a4919066d Reviewed-on: https://code.wireshark.org/review/4430 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2014-10-02Temporarily disable the Qt tests added in g58cde5c.Gerald Combs1-1/+1
Apparently what works for me doesn't work for the Buildbot users. Change-Id: I7d3e4f2b89ae8ae3dadc8d92438c0e1923b97ace Reviewed-on: https://code.wireshark.org/review/4416 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2014-10-01Add tests for the Qt UI.Gerald Combs1-2/+32
Make sure the Qt UI quits if WIRESHARK_QUIT_AFTER_CAPTURE is set. Make sure Bourne shell scripts (*.sh) have UNIX/POSIX line endings. Reduce some time values so that the tests run faster. Change-Id: I81df7c6f72d7d807d1856863cbea1bb6326ca711 Reviewed-on: https://code.wireshark.org/review/4407 Tested-by: Gerald Combs <gerald@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
2014-09-02Qt → wireshark. GTK+ → wireshark-gtk.Gerald Combs1-3/+3
Make sure the Qt UI is named "Wireshark" and its executable is named "wireshark" or "wireshark.exe". Make sure the GTK+ UI is named "Wireshark 1" or "Wireshark (GTK+)" depending on how much the target audience is likely to care about UI toolkits. Make sure the GTK+ executable is named "wireshark-gtk" or "wireshark-gtk.exe". It looks like moving to Qt 5.3 (g978faf3) broke the PortableApps package. It's likely even more broken now. Autotools out-of-tree builds also broke on Ubuntu 12.02 (automake 1.11.3) at some point. The first attempt to compile in ui/qt returns "error: source_file.cpp: No such file or directory". The second attempt works. Out-of-tree builds work fine on Ubuntu 14.04 (automake 1.14.1). Tested: - Nmake builds - NSIS packaging - CMake builds (Windows, OS X) - Autotools build and distcheck - RPM packaging To do: - Test Debian packaging - Fix PortableApps Change-Id: I66429870e05fd2d6fc901942477959ed6164fce2 Reviewed-on: https://code.wireshark.org/review/3919 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2014-03-31Continue to remove $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^\# \$Id\$/,+1 d') (start with dash) Change-Id: Ia4b5a6c2302f6a531f6a86c1ec3a2f8205c8c2dd Reviewed-on: https://code.wireshark.org/review/881 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2013-09-22From Peter Wu: on systems other than Windows, skip the GUI tests if theGuy Harris1-0/+17
DISPLAY environment variable isn't set. From me: note that this won't be the right thing to do on OS X if we switch to a toolkit that doesn't use X11, and that this may or may not be the right thing to do with toolkits using Wayland or Mir directly. svn path=/trunk/; revision=52182
2013-08-28Update the test suite for r51556. Use -Y in one place instead of -R where onlyEvan Huus1-2/+2
filtering is important. Use -2 and -R together in one place where the counting functionality is important. svn path=/trunk/; revision=51558
2013-03-18Disable software updates in a blind attempt to fix the recent testGerald Combs1-2/+1
failures. svn path=/trunk/; revision=48391
2013-03-01Whitespace changes: Convert spaces to tabs. Add modelines.Chris Maynard1-35/+49
svn path=/trunk/; revision=47975
2013-03-01Convert spaces to tabs in capture_step_snapshot().Chris Maynard1-5/+5
(Maybe this will make the XP buildbot happy so test.sh succeeds again?) svn path=/trunk/; revision=47969
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-05-30In recent versions of GLib (test with 2.32) g_log_default_handlerGerald Combs1-4/+30
helpfully ignores G_LOG_LEVEL_INFO and G_LOG_LEVEL_DEBUG messages by default. If the console_log_level preference includes either of those two levels set the G_MESSAGES_DEBUG environment variable so that those messages are printed. Add checks for various console log messages to the stdin capture suite. Fixes bug 7265. svn path=/trunk/; revision=42930
2012-03-30Fix the location of dhcp.pcap.Gerald Combs1-2/+2
svn path=/trunk/; revision=41857
2011-08-29Replace "-Q" with "WIRESHARK_QUIT_AFTER_CAPTURE" as discussed in bug 6256.Gerald Combs1-2/+3
svn path=/trunk/; revision=38784
2011-07-11Use the proper function name.Gerald Combs1-1/+1
svn path=/trunk/; revision=37982
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-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
2010-06-05Clean up indentation.Guy Harris1-2/+2
svn path=/trunk/; revision=33104
2009-05-11test.sh: revise tests to handle revised capinfos output.Bill Meier1-6/+6
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
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-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 Combs1-6/+1
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-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-25Disable capture tests and unit tests until possible issues corrected.Bill Meier1-3/+3
Hopefully the windows buildbot will be OK with these tests disabled temporarily. svn path=/trunk/; revision=22660
2007-05-17Try this again (with a longer timeout and more diagnostic info)Bill Meier1-5/+12
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-03Propset suite-unittests.sh and add executable to .sh filesJörg Mayer1-0/+0
svn path=/trunk/; revision=21311
2007-02-05Additoinal diagnostic info in output logsBill Meier1-6/+21
svn path=/trunk/; revision=20715
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-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 Meier1-2/+26
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