Commit Graph

6 Commits (5a2a23d2af4861b1c51679b91516a3a6e52e3e73)

Author SHA1 Message Date
Erik Auerswald ef74f642d1 Test edge cases of -f and -g
* -f with non-existing file
* -f with input file containing comment and empty line
* -g with non-numeric address in "CIDR" format
* -g with one non-numeric address in start resp. end position
* -g with one IPv6 address in start resp. end position
9 months ago
Erik Auerswald ccc0cdfdd7 Test that -g does not accept IPv6 10 months 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.
10 months ago
David Schweikert 98269fb83e unification work 8 years ago
Martin Topholm 3838e90154 Added tests -g for long prefixes
Expanded tests for -g option to hopefully cover both long prefixes and
too long prefixes.
8 years ago
David Schweikert 4d733db14a rename tests 10 years ago