---
test case: 'fping 2.4 and 3.0 <= X < 3.14; root; safe limits: N/A; redirect: NO'
in:
  target_host_addr: "127.0.0.1"
  fping_out_i0: |+2

    Usage: /usr/bin/fping [options] [targets...]
       -a         show targets that are alive
       -A         show targets by address
       -b n       amount of ping data to send, in bytes (default 68)
       -B f       set exponential backoff factor to f
       -c n       count of pings to send to each target (default 1)
       -C n       same as -c, report results in verbose format
       -e         show elapsed time on return packets
       -f file    read list of targets from a file ( - means stdin) (only if no -g specified)
       -g         generate target list (only if no -f specified)
                    (specify the start and end IP in the target list, or supply a IP netmask)
                    (ex. /usr/bin/fping -g 192.168.1.0 192.168.1.255 or /usr/bin/fping -g 192.168.1.0/24)
       -i n       interval between sending ping packets (in millisec) (default 0)
       -l         loop sending pings forever
       -m         ping multiple interfaces on target host
       -n         show targets by name (-d is equivalent)
       -p n       interval between ping packets to one target (in millisec)
                    (in looping and counting modes, default 1000)
       -q         quiet (don't show per-target/per-ping results)
       -Q n       same as -q, but show summary every n seconds
       -r n       number of retries (default 3)
       -s         print final stats
       -t n       individual target initial timeout (in millisec) (default 50)
       -u         show targets that are unreachable
       -v         show version
       targets    list of targets to check (if no -f specified)

  fping_out_i1: |+2
    127.0.0.1 : [0], 96 bytes, 0.03 ms (0.03 avg, 0% loss)

    127.0.0.1 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.03/0.03/0.03
  fping_out_i10: |+2
    127.0.0.1 : [0], 96 bytes, 0.04 ms (0.04 avg, 0% loss)

    127.0.0.1 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.04/0.04/0.04
out:
  value: 1
---
test case: 'fping 2.4 and 3.0 <= X < 3.14; non-root; safe limits: N/A; redirect: NO'
in:
  target_host_addr: "127.0.0.1"
  fping_out_i0: |+2

    Usage: /usr/bin/fping [options] [targets...]
       -a         show targets that are alive
       -A         show targets by address
       -b n       amount of ping data to send, in bytes (default 68)
       -B f       set exponential backoff factor to f
       -c n       count of pings to send to each target (default 1)
       -C n       same as -c, report results in verbose format
       -e         show elapsed time on return packets
       -f file    read list of targets from a file ( - means stdin) (only if no -g specified)
       -g         generate target list (only if no -f specified)
                    (specify the start and end IP in the target list, or supply a IP netmask)
                    (ex. /usr/bin/fping -g 192.168.1.0 192.168.1.255 or /usr/bin/fping -g 192.168.1.0/24)
       -i n       interval between sending ping packets (in millisec) (default 0)
       -l         loop sending pings forever
       -m         ping multiple interfaces on target host
       -n         show targets by name (-d is equivalent)
       -p n       interval between ping packets to one target (in millisec)
                    (in looping and counting modes, default 1000)
       -q         quiet (don't show per-target/per-ping results)
       -Q n       same as -q, but show summary every n seconds
       -r n       number of retries (default 3)
       -s         print final stats
       -t n       individual target initial timeout (in millisec) (default 50)
       -u         show targets that are unreachable
       -v         show version
       targets    list of targets to check (if no -f specified)

  fping_out_i1: |+2

    /usr/bin/fping: these options are too risky for mere mortals.
    /usr/bin/fping: You need i >= 10, p >= 20, r < 20, and t >= 50

    Usage: /usr/bin/fping [options] [targets...]
       -a         show targets that are alive
       -A         show targets by address
       -b n       amount of ping data to send, in bytes (default 68)
       -B f       set exponential backoff factor to f
       -c n       count of pings to send to each target (default 1)
       -C n       same as -c, report results in verbose format
       -e         show elapsed time on return packets
       -f file    read list of targets from a file ( - means stdin) (only if no -g specified)
       -g         generate target list (only if no -f specified)
                    (specify the start and end IP in the target list, or supply a IP netmask)
                    (ex. /usr/bin/fping -g 192.168.1.0 192.168.1.255 or /usr/bin/fping -g 192.168.1.0/24)
       -i n       interval between sending ping packets (in millisec) (default 1)
       -l         loop sending pings forever
       -m         ping multiple interfaces on target host
       -n         show targets by name (-d is equivalent)
       -p n       interval between ping packets to one target (in millisec)
                    (in looping and counting modes, default 1000)
       -q         quiet (don't show per-target/per-ping results)
       -Q n       same as -q, but show summary every n seconds
       -r n       number of retries (default 3)
       -s         print final stats
       -t n       individual target initial timeout (in millisec) (default 50)
       -u         show targets that are unreachable
       -v         show version
       targets    list of targets to check (if no -f specified)

  fping_out_i10: |+2
    127.0.0.1 : [0], 96 bytes, 0.03 ms (0.03 avg, 0% loss)

    127.0.0.1 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.03/0.03/0.03
out:
  value: 10
---
test case: 'fping 3.14 <= X < 4.0; root; safe limits: N/A; redirect: NO'
in:
  target_host_addr: "127.0.0.1"
  fping_out_i0: |+2
    127.0.0.1 : [0], 84 bytes, 0.03 ms (0.03 avg, 0% loss)

    127.0.0.1 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.03/0.03/0.03
  fping_out_i1: |+2
    127.0.0.1 : [0], 84 bytes, 0.03 ms (0.03 avg, 0% loss)

    127.0.0.1 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.03/0.03/0.03
  fping_out_i10: |+2
    127.0.0.1 : [0], 84 bytes, 0.03 ms (0.03 avg, 0% loss)

    127.0.0.1 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.03/0.03/0.03
out:
  value: 0
---
test case: 'fping 3.14 <= X < 4.0; non-root; safe limits: N/A; redirect: NO'
in:
  target_host_addr: "127.0.0.1"
  fping_out_i0: |+2
    /usr/bin/fping: these options are too risky for mere mortals.
    /usr/bin/fping: You need i >= 1, p >= 20, r < 20, and t >= 50
  fping_out_i1: |+2
    127.0.0.1 : [0], 84 bytes, 0.06 ms (0.06 avg, 0% loss)

    127.0.0.1 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.06/0.06/0.06
  fping_out_i10: |+2
    127.0.0.1 : [0], 84 bytes, 0.02 ms (0.02 avg, 0% loss)

    127.0.0.1 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.02/0.02/0.02
out:
  value: 1
---
test case: 'fping 4.0 <= X <= 5.1; root; safe limits: YES; redirect: NO'
in:
  target_host_addr: "127.0.0.1"
  fping_out_i0: |+2
    127.0.0.1 : [0], 84 bytes, 0.02 ms (0.02 avg, 0% loss)

    127.0.0.1 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.02/0.02/0.02
  fping_out_i1: |+2
    127.0.0.1 : [0], 84 bytes, 0.03 ms (0.03 avg, 0% loss)

    127.0.0.1 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.03/0.03/0.03
  fping_out_i10: |+2
    127.0.0.1 : [0], 84 bytes, 0.02 ms (0.02 avg, 0% loss)

    127.0.0.1 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.02/0.02/0.02
out:
  value: 0
---
test case: 'fping 4.0 <= X <= 5.1; non-root; safe limits: YES; redirect: NO'
in:
  target_host_addr: "127.0.0.1"
  fping_out_i0: |+2
    /usr/bin/fping: these options are too risky for mere mortals.
    /usr/bin/fping: You need -i >= 1 and -p >= 10
  fping_out_i1: |+2
    127.0.0.1 : [0], 84 bytes, 0.03 ms (0.03 avg, 0% loss)

    127.0.0.1 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.03/0.03/0.03
  fping_out_i10: |+2
    127.0.0.1 : [0], 84 bytes, 0.03 ms (0.03 avg, 0% loss)

    127.0.0.1 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.03/0.03/0.03
out:
  value: 1
---
test case: 'fping 4.0 <= X <= 5.1; root or non-root; safe limits: NO; redirect: NO'
in:
  target_host_addr: "127.0.0.1"
  fping_out_i0: |+2
    127.0.0.1 : [0], 64 bytes, 0.010 ms (0.010 avg, 0% loss)

    127.0.0.1 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.010/0.010/0.010
  fping_out_i1: |+2
    127.0.0.1 : [0], 64 bytes, 0.010 ms (0.010 avg, 0% loss)

    127.0.0.1 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.010/0.010/0.010
  fping_out_i10: |+2
    127.0.0.1 : [0], 64 bytes, 0.010 ms (0.010 avg, 0% loss)

    127.0.0.1 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.010/0.010/0.010
out:
  value: 0
---
test case: 'fping 2.4 and 3.0 <= X < 3.11; non-root; safe limits: N/A; redirect: YES'
in:
  target_host_addr: "192.168.202.10"
  fping_out_i0: |+2

  Usage: /usr/bin/fping  [options] [targets...]
     -a         show targets that are alive
     -A         show targets by address
     -b n       amount of ping data to send, in bytes (default 68)
     -B f       set exponential backoff factor to f
     -c n       count of pings to send to each target (default 1)
     -C n       same as -c, report results in verbose format
     -e         show elapsed time on return packets
     -f file    read list of targets from a file ( - means stdin) (only if no -g specified)
     -g         generate target list (only if no -f specified)
                  (specify the start and end IP in the target list, or supply a IP netmask)
                  (ex. /usr/bin/fping  -g 192.168.1.0 192.168.1.255 or /usr/bin/fping  -g 192.168.1.0/24)
     -i n       interval between sending ping packets (in millisec) (default 0)
     -l         loop sending pings forever
     -m         ping multiple interfaces on target host
     -n         show targets by name (-d is equivalent)
     -p n       interval between ping packets to one target (in millisec)
                  (in looping and counting modes, default 1000)
     -q         quiet (don't show per-target/per-ping results)
     -Q n       same as -q, but show summary every n seconds
     -r n       number of retries (default 3)
     -s         print final stats
     -t n       individual target initial timeout (in millisec) (default 50)
     -u         show targets that are unreachable
     -v         show version
     targets    list of targets to check (if no -f specified)

  fping_out_i1: |+2
    /usr/bin/fping : these options are too risky for mere mortals.
    /usr/bin/fping : You need i >= 10, p >= 20, r < 20, and t >= 50
  fping_out_i10: |+2
    192.168.202.10 : [0], 96 bytes, 0.86 ms (0.86 avg, 0% loss) [<- 192.168.201.10]

    192.168.202.10 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.86/0.86/0.86
out:
  value: 10
---
test case: 'fping 3.11 <= X < 3.14; non-root; safe limits: N/A; redirect: YES'
in:
  target_host_addr: "192.168.202.10"
  fping_out_i0: |+2

    Usage: /usr/bin/fping  [options] [targets...]
       -a         show targets that are alive
       -A         show targets by address
       -b n       amount of ping data to send, in bytes (default 56)
       -B f       set exponential backoff factor to f
       -c n       count of pings to send to each target (default 1)
       -C n       same as -c, report results in verbose format
       -D         print timestamp before each output line
       -e         show elapsed time on return packets
       -f file    read list of targets from a file ( - means stdin) (only if no -g specified)
       -g         generate target list (only if no -f specified)
                    (specify the start and end IP in the target list, or supply a IP netmask)
                    (ex. /usr/bin/fping  -g 192.168.1.0 192.168.1.255 or /usr/bin/fping  -g 192.168.1.0/24)
       -H n       Set the IP TTL value (Time To Live hops)
       -i n       interval between sending ping packets (in millisec) (default 0)
       -I if      bind to a particular interface
       -l         loop sending pings forever
       -m         ping multiple interfaces on target host
       -n         show targets by name (-d is equivalent)
       -O n       set the type of service (tos) flag on the ICMP packets
       -p n       interval between ping packets to one target (in millisec)
                    (in looping and counting modes, default 1000)
       -q         quiet (don't show per-target/per-ping results)
       -Q n       same as -q, but show summary every n seconds
       -r n       number of retries (default 3)
       -R         random packet data (to foil link data compression)
       -s         print final stats
       -S addr    set source address
       -t n       individual target initial timeout (in millisec) (default 50)
       -T n       ignored (for compatibility with fping 2.4)
       -u         show targets that are unreachable
       -v         show version
       targets    list of targets to check (if no -f specified)

  fping_out_i1: |+2
    /usr/bin/fping : these options are too risky for mere mortals.
    /usr/bin/fping : You need i >= 10, p >= 20, r < 20, and t >= 50
  fping_out_i10: |+2
     [<- 192.168.201.10]192.168.202.10 : [0], 84 bytes, 0.73 ms (0.73 avg, 0% loss)

    192.168.202.10 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.73/0.73/0.73
out:
  value: 10
---
test case: 'fping 3.14 <= X < 4.0; non-root; safe limits: N/A; redirect: YES'
in:
  target_host_addr: "192.168.202.10"
  fping_out_i0: |+2
    /usr/bin/fping : these options are too risky for mere mortals.
    /usr/bin/fping : You need i >= 1, p >= 20, r < 20, and t >= 50
  fping_out_i1: |+2
     [<- 192.168.201.10]192.168.202.10 : [0], 84 bytes, 0.57 ms (0.57 avg, 0% loss)

    192.168.202.10 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.57/0.57/0.57
  fping_out_i10: |+2
     [<- 192.168.201.10]192.168.202.10 : [0], 84 bytes, 0.57 ms (0.57 avg, 0% loss)

    192.168.202.10 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.57/0.57/0.57
out:
  value: 1
---
test case: 'fping 4.0 <= X <= 5.1; non-root; safe limits: NO; redirect: YES'
in:
  target_host_addr: "192.168.202.10"
  fping_out_i0: |+2
     [<- 192.168.201.10]192.168.202.10 : [0], 84 bytes, 0.63 ms (0.63 avg, 0% loss)

    192.168.202.10 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.63/0.63/0.63
  fping_out_i1: |+2
     [<- 192.168.201.10]192.168.202.10 : [0], 84 bytes, 0.63 ms (0.63 avg, 0% loss)

    192.168.202.10 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.63/0.63/0.63
  fping_out_i10: |+2
     [<- 192.168.201.10]192.168.202.10 : [0], 84 bytes, 0.63 ms (0.63 avg, 0% loss)

    192.168.202.10 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.63/0.63/0.63
out:
  value: 0
...