Commit Graph

7 Commits (2f2ff0bd2c38c911cfe659bd65dc494e8dd0bc2b)

Author SHA1 Message Date
Erik Auerswald 1443614dad Decouple -a/-u effects from -c
As described in issue #295, the option combinations "-c N -u"
and "-c N -a" inadvertently have the same effect as "-c N -q".
Prevent this by first acting on -c, which includes disabling
either -a or -u, if -c is given, before acting on -a/-u.
9 months ago
Erik Auerswald 2a609b856d Test examples from man page
The man page gives two examples combining -C and -q, but
these combinations are not yet tested.  Add tests to help
ensure the documented examples continue to work.
10 months ago
David Schweikert a136764f8c always exclude IP header in returned size 4 years ago
Steven Noonan ad451e7a15
test-05: don't assume -D timestamp is based on UNIX epoch
If CLOCKID != CLOCK_REALTIME, it probably will not have anything to do
with the UNIX epoch, so it could be smaller than 10 digits.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
4 years ago
David Schweikert 633ea983ed test robustness fixes 6 years ago
David Schweikert 12971e5409 ipv4/ipv6 unification fixes 8 years ago
David Schweikert 4d733db14a rename tests 10 years ago