Erik Auerswald
dcda0cc595
Test that -x, -X, -k require numeric argument
11 months ago
Erik Auerswald
c5428391a6
Test that negative numbers are not accepted
11 months ago
Erik Auerswald
8ae2babae0
Fix a comment describing a test
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
Erik Auerswald
3a527fbc86
Add test for option combination -Q SECS -o
...
The -o option adds outage duration to the periodic reports.
Each report shows the outage since the last report, not since
the beginning.
1 year ago
Erik Auerswald
4753437b17
Add longer test for -Q SECS
...
The statistics printed every SECS seconds show the results
since the the last report, not since the beginning. Also,
every report starts with a timestamp.
1 year ago
Erik Auerswald
ccc0cdfdd7
Test that -g does not accept IPv6
1 year ago
Erik Auerswald
2fa4f61079
Test edge case behavior of "fping -g"
...
* wrong number or kind of arguments fails and prints usage;
* an empty range silently pings nothing and fping returns 1;
* a too large range fails with an error message;
* a zero CIDR prefix length fails with an error message.
1 year ago
deepkv
c8e9632150
Add --fwmark/-k option for Linux
1 year ago
German Service Network
59f32cefb2
Repair the faulty test 15
1 year ago
German Service Network
f94adaf29e
Test for fping: add option to exit immediately once N hosts have been found
1 year ago
David Schweikert
e975a4339b
fix unprivileged ping broken in v5.1 ( fixes #248 )
3 years ago
David Schweikert
ae49f4d933
Update autotools and fix code coverage issues.
3 years ago
David Schweikert
3ecfbb7c1e
GH action test
3 years ago
David Schweikert
bbaa365526
more travis stability fixes
3 years ago
David Schweikert
cf03fa5bdb
skip timing test on macos
3 years ago
David Schweikert
7b3cf2593a
fix travis build
3 years ago
David Schweikert
aeea60a0e0
move coverity scan to a script, so that it doesn't run for every job
5 years ago
David Schweikert
2dbe46f936
remove debug output
5 years ago
David Schweikert
73bfc121c2
more travis-ci improvements
5 years ago
David Schweikert
5655b7664c
travis-ci improvements
5 years ago
David Schweikert
2f71a6a701
travis-ci improvements, add macos testing
5 years ago
David Schweikert
a136764f8c
always exclude IP header in returned size
5 years ago
David Schweikert
43f6e3498e
print lost pings in loop and count mode, fixes #175
5 years ago
David Schweikert
bb8d71ef27
refactored event loop, now for each ping we create both a ping and a timeout event
5 years ago
David Schweikert
9731556633
prepare for version 5.x
5 years ago
David Schweikert
721af135db
Merge pull request #136 from tycho/high-resolution-clock-sources
...
Move to 1us resolution for latency measurements
5 years ago
Patrick Ladd
e064c36df8
Add SIGQUIT summary support similar to ping
...
This reverts commit 3b3877f651af816006ab620f7a189c2c1a3fad8a.
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
Steven Noonan
754a21e2bd
move to 1us resolution for latency measurement
...
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
5 years ago
Steven Noonan
44dd04562c
test-11-nopriv: check Linux GID permission for unprivileged ping
...
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
5 years ago
David Schweikert
12961d59ec
fix google dns names
6 years ago
David Schweikert
151fef9312
fix internet test that uses a name with multiple a records
6 years ago
David Schweikert
a4522f1af2
Get rid of warning "timeout (-t) value larger than period (-p) produces unexpected results", fixes #142
6 years ago
David Schweikert
633ea983ed
test robustness fixes
6 years ago
deepak0004
03d821e983
Removing flag variable and its dependencies, printing required and reachable hosts, and changing initialisation of min_reachable
6 years ago
deepak0004
af9b3bfbfe
Adding separate exit codes for success or failure, and printing the number of reachable hosts
6 years ago
deepak0004
8e33daed93
Adding travis ci tests for more coverage and rectifying a mistake
6 years ago
David Schweikert
d46f298e62
fix test-14-ping-internet-hosts.pl failing
7 years ago
David Schweikert
bb0eeaaeba
Fix running on servers with disabled IPv6, fixes #118
7 years ago
David Schweikert
41de489bd8
fix test
8 years ago
David Schweikert
7592cc2a19
discard late packets, auto-adjust timeout for -c/-C/-l, fixes #32
8 years ago
David Schweikert
24ce982e5b
improve coverage
8 years ago
David Schweikert
4e0b2277a3
improve test coverage
8 years ago
David Schweikert
d4fe99d8cc
improve test coverage
8 years ago
David Schweikert
624640c779
fix test
8 years ago
David Schweikert
c9e2f9ce1d
fix help test (and be less pedantic about help text changes)
8 years ago
David Schweikert
bab585e9fa
new option --rdns
8 years ago
David Schweikert
2a86182f95
make help a bit narrower
8 years ago
David Schweikert
4f672b9b62
work on long option names, #73
8 years ago