]> The Tcpdump Group git mirrors - tcpdump/commit
Do some tests based on the type of floating-point arithmetic tcpdump does.
authorGuy Harris <[email protected]>
Wed, 5 Feb 2020 03:08:10 +0000 (19:08 -0800)
committerGuy Harris <[email protected]>
Wed, 5 Feb 2020 03:08:10 +0000 (19:08 -0800)
commit92e3315c9ff248778c825015ac16553d4b8b4f7f
treea6d3afea20df92e79a9ccde4318794d1070af514
parent895e3dfd766bd2858e1514ec21554c22de587149
Do some tests based on the type of floating-point arithmetic tcpdump does.

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.
Makefile.in
tcpdump.c
tests/TESTrun
tests/isis-seg-fault-1-v.tests
tests/lmp-v.tests