Commit Graph

7 Commits (f71e40ab600b1b3d00f163d1edf7125ca99b25bd)

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.
11 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.
1 year ago
David Schweikert a136764f8c always exclude IP header in returned size 5 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>
5 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