forked from arkime/arkime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Ubuntu issue, don't check cert for www.iana.org
- Loading branch information
Showing
2 changed files
with
21 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,24 @@ | ||
This directory contains simple pcap regression tests. | ||
By running the command "./tests.pl" each pcap file is run thru moloch capture with the results compared against the matching .test file. | ||
Moloch has both capture and viewer regression tests that are run seperately. | ||
|
||
* Requires Test::Differences pacakge: `yum install perl-Test-Differences` or `cpan Test::Differences` | ||
|
||
1) Capture | ||
Tests if the capture pcap parsers produce consistent results. | ||
Each pcap file is run thru Moloch capture with the results compared against the matching .test file. | ||
The pcap file have been mostly anonymized. mostly... If you see data that shouldn't be there please let us know. | ||
If you have simple sample pcap files that we can use please share them! | ||
|
||
Running the command "./tests.pl --viewer" does basic viewer regression. | ||
|
||
Run ./tests.pl <optional PCAP files> | ||
|
||
Files with known non moloch source: | ||
PCAP files with known non Moloch source: | ||
bigendian.pcap - https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7221 | ||
|
||
|
||
|
||
|
||
2) Viewer | ||
Test various viewer apis. Requires that an elasticsearch already be running on the local host. | ||
|
||
Run ./tests.pl --viewer <optional testname.t files> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters