Commit Graph

703 Commits

Author SHA1 Message Date
Gerald Combs cd7cc1557e Move SKIP_CAPTURE from suite-capture.sh to config.sh so that we can use it
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-11-08 16:59:30 +00:00
Jeff Morriss e32c9da434 As requested on -dev, put the (currently failing) 'Capture 10 packets using stdout' test back in for tshark
svn path=/trunk/; revision=23110
2007-10-09 13:34:08 +00:00
Ulf Lamping 3cc99bbe53 alpha -> beta
svn path=/trunk/; revision=23107
2007-10-09 06:55:24 +00:00
Jeff Morriss 98efc05f19 Temporarily disable 'Capture 10 packets using stdout' test for tshark until we can get that working
svn path=/trunk/; revision=23095
2007-10-08 17:56:10 +00:00
Gerald Combs 9c7e0b2e25 Support Solaris along with Windows.
svn path=/trunk/; revision=23020
2007-09-28 23:40:51 +00:00
Bill Meier 2f31729b20 Re-enable capture tests now that a a dumpcap problem has been corrected.
svn path=/trunk/; revision=22708
2007-08-28 17:49:16 +00:00
Bill Meier c4531ac2a8 Re-enable unittests after determining that they work correctly
on Windows (and shouldn't cause the Windows buildbot any problems).

svn path=/trunk/; revision=22686
2007-08-27 18:09:38 +00:00
Bill Meier cc7d161c4e Prevent execution of the fifo tests on Windows.
(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-27 17:49:53 +00:00
Bill Meier b089f00013 Disable capture tests and unit tests until possible issues corrected.
Hopefully the windows buildbot will be OK with these tests disabled
temporarily.

svn path=/trunk/; revision=22660
2007-08-25 19:13:00 +00:00
Richard van der Hoff 77181f6db0 do the fifo test on platforms where mkfifo is available
svn path=/trunk/; revision=22640
2007-08-24 15:45:16 +00:00
Bill Meier 4b7eeb8562 Try this again (with a longer timeout and more diagnostic info)
svn path=/trunk/; revision=21811
2007-05-17 02:43:38 +00:00
Bill Meier c5894f5257 Capture tests using Wireshark seem to be causing a problem; disable them for now.
svn path=/trunk/; revision=21791
2007-05-15 16:12:46 +00:00
Bill Meier 6386eda24c Addt'l fixes so suite-unittests will run under windows
svn path=/trunk/; revision=21546
2007-04-24 03:43:08 +00:00
Bill Meier 2c346d9a3c Use correct install target: 'make ..._install (and not 'make 'install_...')
svn path=/trunk/; revision=21545
2007-04-24 02:17:35 +00:00
Richard van der Hoff e12cf1df47 fix typos
svn path=/trunk/; revision=21476
2007-04-19 17:03:58 +00:00
Richard van der Hoff 674306a87d following advice from Gerald, Graham Bloice, and others, let's try copying the unit test executables into the wireshark-gtk2 directory before running them.
svn path=/trunk/; revision=21472
2007-04-18 22:31:47 +00:00
Richard van der Hoff c9360bf853 that didn't help. try skipping the exntest to see if it's just that one.
svn path=/trunk/; revision=21350
2007-04-07 04:35:39 +00:00
Richard van der Hoff 235cfd0f19 make the unit tests spam their output, in an attempt yo understand wtf the matter with the buildbot is
svn path=/trunk/; revision=21349
2007-04-07 02:18:57 +00:00
Richard van der Hoff c7f5b65111 another go at fixing the unit tests under windows - give a -f Makefile.nmake arg
svn path=/trunk/; revision=21314
2007-04-03 13:03:07 +00:00
Richard van der Hoff 2ab63b7719 hopefully fix this for win32 by using nmake
svn path=/trunk/; revision=21312
2007-04-03 10:53:38 +00:00
Jörg Mayer 5d913e1701 Propset suite-unittests.sh and add executable to .sh files
svn path=/trunk/; revision=21311
2007-04-03 06:55:25 +00:00
Richard van der Hoff 4500ada811 Run the epan unittests as part of the test suite
svn path=/trunk/; revision=21309
2007-04-03 01:54:30 +00:00
Gerald Combs 773cd3dee8 Under Windows, try to use the first interface that looks like Ethernet
as the capture interface.  This should fix the capture test failures on
the Windows builder.

svn path=/trunk/; revision=20989
2007-03-06 23:55:00 +00:00
Bill Meier ec8f13b55d Additoinal diagnostic info in output logs
svn path=/trunk/; revision=20715
2007-02-05 00:57:59 +00:00
Bill Meier bf2696032c Now need to use interface #2 ??
svn path=/trunk/; revision=20590
2007-01-28 20:41:50 +00:00
Bill Meier 23eaea7363 Add some debug output so can see why failure when buildbot runs this script
svn path=/trunk/; revision=20589
2007-01-28 18:56:17 +00:00
Bill Meier ffef6c5b60 Hack so test.sh will work with bash 3.1.6 or greater
which requires 'igncr' to be able to process files in 
'dos format' (\r\n line endings)

svn path=/trunk/; revision=20229
2006-12-28 03:17:28 +00:00
Bill Meier f1721c9d91 OK: I think I've fixed most of the problems in
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-22 18:16:22 +00:00
Bill Meier c582bce50d Use interface '1' for the capture tests;
Add additional error output in case any other problems

svn path=/trunk/; revision=20197
2006-12-22 13:00:40 +00:00
Bill Meier 98393c2355 Add additional output to try to find out why the "capture 10
packets" test fails during the run-tests step of the 
buildbot windows build ... 

svn path=/trunk/; revision=20191
2006-12-22 04:46:26 +00:00
Gerald Combs edf99969fd The capture test suite currently fails on quiet networks. Try to fix
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-12-11 18:24:27 +00:00
Gerald Combs aba9c21960 Add command-line options: -c disables color, -h prints help, -s runs
a suite.

svn path=/trunk/; revision=19479
2006-10-10 20:55:38 +00:00
Gerald Combs c43a1dffed Pick up TRAFFIC_CAPTURE_IFACE from the environment if it's set, otherwise
use a default value.

svn path=/trunk/; revision=19466
2006-10-09 23:28:30 +00:00
Gerald Combs 3f96d2a977 Return 1 on failure.
svn path=/trunk/; revision=19464
2006-10-09 20:31:48 +00:00
Gerald Combs e233507308 Make preparations for running under Buildbot:
- Check for an "all" argument at startup.  If it's present,
    then proceed with testing.

  - Add a platform check.  Use it to handle cases where we can't run
    as a normal user, e.g. trying to capture under Linux.

  - Add a "Skipped" result.

svn path=/trunk/; revision=19461
2006-10-09 18:47:42 +00:00
Ulf Lamping 2bf897b906 from Richard van der Hoff:
[tshark from a fifo]
I've even gone so far as to add a unit test for it

ULFL: as mkfifo isn't available on Win32 (not even cygwin), make this test configurable in config.sh

svn path=/trunk/; revision=19457
2006-10-08 22:57:32 +00:00
Ulf Lamping e70c6303e1 change the binary path to current windows debug dir: wireshark-gtk2
don't use promiscuous mode as default (my Win32 WLAN card won't capture any packets with it - might probably be better for other users as well)

svn path=/trunk/; revision=19455
2006-10-08 22:24:46 +00:00
Ulf Lamping adc7305cd4 use unique variable names to prevent "global variable" side effects -> endless repeating tests of subsections
svn path=/trunk/; revision=19077
2006-08-29 21:01:05 +00:00
Anders Broman fbb3dc9bd0 From Richard van der Hoff:
An error message has been changed, such that the commandline options 
test doesn't work any more.

This patch fixes the test accordingly.

svn path=/trunk/; revision=18827
2006-08-02 20:01:20 +00:00
Ronnie Sahlberg 25c3f0a107 ethereal to wireshark conversion
svn path=/trunk/; revision=18495
2006-06-17 11:49:03 +00:00
Gerald Combs eb71f7fb96 Rename the main executable to "wireshark", along with more conversions:
ethereal.com -> wireshark.org
  mailing lists and addresses
  ETHEREAL -> WIRESHARK
  Man pages
  Automake/Autoconf names


svn path=/trunk/; revision=18271
2006-05-31 19:12:15 +00:00
Gerald Combs 8958bab6de Tethereal/tethereal -> TShark/tshark.
svn path=/trunk/; revision=18268
2006-05-31 17:38:42 +00:00
Ronnie Sahlberg 6075ec39fb ethereal->wireshark
svn path=/trunk/; revision=18207
2006-05-22 08:21:22 +00:00
Ronnie Sahlberg 89f022b12b name change
svn path=/trunk/; revision=18197
2006-05-21 05:12:17 +00:00
Ulf Lamping 7d7220fec1 preparation for a very simple regression test
svn path=/trunk/; revision=17342
2006-02-17 22:40:54 +00:00
Ulf Lamping 8a85fa705a add a new suite of file I/O test cases
svn path=/trunk/; revision=16970
2006-01-07 01:15:35 +00:00
Ulf Lamping b82d886798 fix a test case and some comments
svn path=/trunk/; revision=16969
2006-01-07 01:14:29 +00:00
Ulf Lamping 72560c5d1d minor cleanup
svn path=/trunk/; revision=16964
2006-01-06 01:11:31 +00:00
Ulf Lamping eae47c79c1 add a test case: writing the capture file to stdout: "-w -"
svn path=/trunk/; revision=16959
2006-01-05 22:26:05 +00:00
Ulf Lamping 8fcb1323e7 interface index 0 is invalid (starting with 1), check if it's rejected correctly
svn path=/trunk/; revision=16946
2006-01-05 00:29:32 +00:00
Ulf Lamping e897f0a805 add the possibility for a prepare step before doing the actual test step
svn path=/trunk/; revision=16945
2006-01-05 00:28:10 +00:00
Ulf Lamping 270561dd09 add missing keys 4-9
svn path=/trunk/; revision=16944
2006-01-05 00:26:37 +00:00
Ulf Lamping 0922a2b922 add a new directory 'test', currently containing an alpha test (using some simple bash scripts) of the ethereal/tethereal command line parameters. See the file README.test for details.
svn path=/trunk/; revision=16788
2005-12-13 23:15:20 +00:00