summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | Use HTTPS in an URLFrancois-Xavier Le Bail2020-02-061-1/+1
| |
* | Use the Wayback Machine for some removed documentsFrancois-Xavier Le Bail2020-02-067-7/+9
| |
* | Use the Wayback Machine for some removed documentsFrancois-Xavier Le Bail2020-02-061-2/+2
| |
* | "make check" shuold work with CMake, so do tests in CMake builds.Guy Harris2020-02-051-1/+1
| |
* | Don't try doing checks on Windows.Guy Harris2020-02-051-1/+0
| | | | | | | | | | The runtest() Perl function runs UN*X commands, so it doesn't work on Windows.
* | Apple IPoIEEE1394: Remove trailing "_if" from protocol nameFrancois-Xavier Le Bail2020-02-051-1/+1
| |
* | Don't do "make check" using a solution file.Guy Harris2020-02-051-1/+1
| | | | | | | | | | | | | | If you're not part of the solution, you're part of the problem. To do a test, just build with check.vcxproj; the precise way to sacrifice a goat over msbuild to get it to do the equivalent of "{make,ninja} check" when building with tcpdump.sln is not exactly obvious.
* | Add a file giving information about building tcpdump on Windows.Guy Harris2020-02-051-0/+185
| |
* | Don't assume a Perl script can be run directly as a command.Guy Harris2020-02-051-3/+12
| | | | | | | | | | | | That's not the case on Windows - it doesn't support #!. Look for the perl interpreter and, if we find it, add a rule that runs tests/TESTrun with the interpreter.
* | Add a comment about how to tell this where to find pcap.Guy Harris2020-02-041-0/+6
| | | | | | | | | | Most of the time this probably won't be an issue on UN*Xes, but it'll probably be an issue on Windows.
* | Try doing "make check" on Windows.Guy Harris2020-02-041-0/+1
| | | | | | | | | | It's all Perl; no UN*X-style shell or commands should be needed any more, and we should no longer depend on there being a Makefile.
* | Do the isis-seg-fault-1-v test regardless of the floating-point type.Guy Harris2020-02-041-1/+5
| | | | | | | | | | This test seems to work even with "x87" floating point; perhaps it fails on, e.g., SPARC with some compiler.
* | Test both with "normal" and "x87" floating-point.Guy Harris2020-02-043-4/+211
| | | | | | | | | | | | "Normal" is what you'll get with most versions of most instruction sets; "x87" is what you'll get with code compiled for 32-bit x86 without SSE, using the x87 instructions, at least with some compilers.
* | Push the floating-point test into a separate file.Guy Harris2020-02-045-10/+89
| | | | | | | | | | | | Hopefully, that will make sure we don't optimize away anything that will, for example, cause us not to do things differently on 32-bit x86 using the x87 instructions.
* | Do the floating-point tests closer to what we need.Guy Harris2020-02-046-99/+18
| | | | | | | | | | | | | | | | | | It's All Very Complicated, so mirror what print-lmp.c does - just do a calculation based on a particular input value and print the result using the same format print-lmp.c does, and have tests/TESTrun see what that result is. Just do that inside tcpdump.c, so we don't need the fptype stuff.
* | Add fptype.c to CMake builds.Guy Harris2020-02-041-1/+1
| |
* | Add two files omitted from the previous commit.Guy Harris2020-02-042-0/+83
| |
* | Do some tests based on the type of floating-point arithmetic tcpdump does.Guy Harris2020-02-045-18/+42
| | | | | | | | | | | | | | | | | | Add a --fp-type flag to tcpdump, which causes it to do a floating-point operation and, based on the result of the operation, prints out "FPTYPE{n}", where {n} is a number indicating the result. Have tests/TESTrun run "./tcpdump --fp-type" and set a HAVE_ key based on that. Run some tests only for FPTYPE1.
* | Remove the hacks to avoid floating-point issues in the tcpdump checks.Guy Harris2020-02-044-62/+2
| | | | | | | | | | | | | | | | | | | | | | I can't seem to make those issues pop up on my (x86-64) machine, and, if they do show up on any platforms, the best hack to handle it is probably to have a special tcpdump flag to force it to do a floating-point calculation and see what result is generated, and report the result, so we know what it'll do with the numbers in the test files, and have tests/TESTrun run tcpdump with that flag. If those tests *do* fail, we'll know what calculations to do.
* | Improve "skipped" messages.Guy Harris2020-02-041-2/+2
| | | | | | | | | | | | | | | | | | If we're skipping a test because something *is* set, say "XXX set". If we're skipping a test because something *isn't* set, say "XXX not set". (Don't say the same thing in both cases.)
* | CI: run the tests in Cirrus as they should workDenis Ovsienko2020-02-041-4/+3
| | | | | | | | While at it, build libpcap silently and use parallel build for tcpdump.
* | address some nits after the TESTrun stormDenis Ovsienko2020-02-045-3/+14
| | | | | | | | | | | | | | | | | | Remove a stray .md file and restore some comments from the removed .sh files so future folk can see where the conditional tests come from, not just the mere fact of their existence. Remove the unused fragile shebang from testfuncs.pm. [skip ci]
* | Fix checks for libcrypto.Guy Harris2020-02-041-3/+3
| | | | | | | | | | | | | | | | | | 1) We don't need libcrypto to check for the header files, and if we say we do, we get a lot of noise from CMake about policy CMP0075. 2) We need libcrypto, with the full path specified, for library tests; just linking with -lcrypto might not find it, or might find another version (thanks, Apple!).
* | indent the message about skipped testMichael Richardson2020-02-041-2/+2
| |
* | Revert "added libyaml-perl to list of packages for Linux"Michael Richardson2020-02-041-2/+1
| | | | | | | | This reverts commit 1e842e24abfadaa0cadbd82ea89fe3170ddb3193.
* | removed .passwd/.failed processingMichael Richardson2020-02-041-21/+0
| |
* | turn off all shell testsMichael Richardson2020-02-041-18/+1
| |
* | switch from shell script to complex test for lmp-vMichael Richardson2020-02-042-38/+13
| |
* | switch from shell script to complex testMichael Richardson2020-02-042-35/+13
| |
* | if CC=*gcc* is found in Makefile, then set USING_GCCMichael Richardson2020-02-041-3/+16
| |
* | switch from crypto.sh to crypto.testsMichael Richardson2020-02-042-157/+78
| |
* | process config_setMichael Richardson2020-02-042-10/+105
| |
* | use perl hashes for configuration, rather than YAML thingsMichael Richardson2020-02-041-20/+31
| |
* | Apple IPoIEEE1394: Update the link-layer dissector to a void functionFrancois-Xavier Le Bail2020-02-033-7/+9
| |
* | Fix typo mentioned in GitHub issue #819.Guy Harris2020-02-021-1/+1
| |
* | Add in the passed and failed counts from subshells.Guy Harris2020-02-021-2/+12
| | | | | | | | | | | | | | | | | | Once we've gotten rid of those scripts, this should no longer be necessary. Fixes the problem I mentioned in my comment in GitHub issue #820. Get rid of extra blank lines at the end while we're at it.
* | Temporary fix for GitHub issue #820Guy Harris2020-02-021-0/+10
| | | | | | | | | | | | Create the tests/.passed and tests/.failed files used by test shell scripts; once we've gotten rid of those scripts, this should no longer be necessary.
* | Apply the first step of the new way to update the link-layer header lengthFrancois-Xavier Le Bail2020-02-025-26/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the return value of link-layer dissectors is supposed to be the length of the link-layer header, so that it can be skipped for -x and -X. If a link-layer dissector or a called function throws an exception, it returns no value, so that length isn't available. The goal is to change all the link-layer dissectors to be void functions and dissectors should update a new field of the netdissect_options structure "link-layer header length" rather than returning it as a value. In this transition process, the link-layer dissectors will be moved, when updated, from the uint_printers[] array (named before printers[]) to the void_printers[] array. In this transition process, a new field of the netdissect_options structure, ndo_void_printer (TRUE/FALSE), set in the updated function lookup_printer(), will permit to choose between the old and new way to update the link-layer header length.
* | use mkpath instead of make_path so that it works on perl 5.8 (Solaris 10)Michael Richardson2020-01-281-3/+3
| |
* | CI: Add initial FreeBSD support via Cirrus.Denis Ovsienko2020-01-261-0/+19
| | | | | | | | | | This first working revision runs a straightforward default compilation of libpcap and tcpdump on three versions of FreeBSD.
* | Fix Perl shebang in TESTrun.Denis Ovsienko2020-01-261-1/+1
| | | | | | | | | | | | Some script interpreters do not have the same pathname in all operating systems where they work (e.g. Perl is /usr/local/bin/perl on FreeBSD). Apply the classic solution to this classic problem.
* | attempt to die nicely of YAML is not loadableMichael Richardson2020-01-251-1/+2
| |
* | Merge remote-tracking branch 'origin/master'Michael Richardson2020-01-250-0/+0
|\ \
| * | added libyaml-perl to list of packagesMichael Richardson2020-01-241-0/+1
| | |
* | | added libyaml-perl to list of packages for LinuxMichael Richardson2020-01-251-1/+2
|/ / | | | | | | | | added cpanminus and YAML module for OSX install local::lib to get local path on OSX for YAML module
* | initial effort to process YAML format testlistMichael Richardson2020-01-242-8/+45
| |
* | TESTrun.sh is dead; long live TESTrun.Guy Harris2020-01-242-2/+2
| |
* | translate TESTrun.sh to Perl, still using external routines for complex ↵Michael Richardson2020-01-244-236/+252
| | | | | | | | situations
* | move test invocation code into subroutineMichael Richardson2020-01-241-115/+116
| |
* | Fix #ifdef to test for something we set at configuration time.Guy Harris2020-01-201-1/+1
| |