tests
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
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! Run ./tests.pl <optional PCAP files> 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>