aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite-capture.sh
AgeCommit message (Collapse)AuthorFilesLines
2018-05-02Test: Remove the Bash test scripts.Gerald Combs1-503/+0
They've been replaced by the Python scripts. Change-Id: I8add9c9ea0a6bdd68b2fa3841977863c0ea9a761 Reviewed-on: https://code.wireshark.org/review/27243 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-04-09Remove GTK+ tests.Gerald Combs1-42/+1
Change-Id: Iba2f9c669c81cfae675ab584ad0250f69aadb987 Reviewed-on: https://code.wireshark.org/review/26819 Reviewed-by: Gerald Combs <gerald@wireshark.org> Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-03-09spdx: more licenses converted.Dario Lombardo1-13/+1
Change-Id: Ia1650bc02511f7bd47fb90be91b623177f05bcbd Reviewed-on: https://code.wireshark.org/review/26337 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-11-14Revert "Windows tests:"Graham Bloice1-3/+0
This reverts commit b4fc532372f0add6bf1434a54aa1a3a457ab3a88. No longer required. Change-Id: I0ec135d7b54f2aa1b8369fe8192fd2e725ffd5a8 Reviewed-on: https://code.wireshark.org/review/24409 Reviewed-by: Graham Bloice <graham.bloice@trihedral.com>
2017-11-14Windows tests:Graham Bloice1-0/+3
Add some debug info to the failing tests by displaying the LANG var. Change-Id: I0a7316d06a6aca035b46c3e6211ac8e93425e295 Reviewed-on: https://code.wireshark.org/review/24407 Reviewed-by: Graham Bloice <graham.bloice@trihedral.com>
2017-04-05A bunch of "{Mac} OS X" -> "macOS" changes.Guy Harris1-1/+1
Avoid anachronisms, however; there was no "macOS 10.0" or even "OS X 10.0", for example. It was "Mac OS X" until 10.8 (although 10.7 was sometimes called "OS X" and sometimes called "Mac OS X"), and it was "OS X" from 10.8 to 10.11. Change-Id: Ie4a848997dcc6c45c2245c1fb84ec526032375c3 Reviewed-on: https://code.wireshark.org/review/20933 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-10-21test: make GTK support optionalPeter Wu1-0/+6
Current Ubuntu buildbot is failing because GTK support was removed. Tests should not fail if GTK is not available, so make it optional. Change-Id: I1640c8bcea5208299f6846eb366e105c39a3ebf3 Reviewed-on: https://code.wireshark.org/review/18345 Reviewed-by: Gerald Combs <gerald@wireshark.org> Reviewed-by: Peter Wu <peter@lekensteyn.nl>
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