Failed test:
```
# Failed test 'exit_is_num: fping -I lo0 127.0.0.1, 3'
# at ci/test-07-options-i-m.pl line 63.
# got: 0
# expected: 3
# Failed test 'stdout_is_eq: fping -I lo0 127.0.0.1, fping: cant bind to a particular net interface since SO_BINDTODEVICE is not supported on your os.
# '
# at ci/test-07-options-i-m.pl line 64.
# got: '127.0.0.1 is alive
# '
# expected: 'fping: cant bind to a particular net interface since SO_BINDTODEVICE is not supported on your os.
# '
# Looks like you failed 2 tests of 28.
```
#!/usr/bin/perl -w
-use Test::Command tests => 28;
+use Test::Command tests => 25;
use Test::More;
# -i n interval between sending ping packets (in millisec) (default 25)
$cmd->stderr_like(qr{binding to specific interface \(SO_BINDTODEVICE\):.*\n});
}
-# fping -I IFACE
-SKIP: {
-if($^O ne 'darwin') {
- skip 'test for unsupported -I on macOS', 3;
-}
-my $cmd = Test::Command->new(cmd => 'fping -I lo0 127.0.0.1');
-$cmd->exit_is_num(3);
-$cmd->stdout_is_eq("fping: cant bind to a particular net interface since SO_BINDTODEVICE is not supported on your os.\n");
-$cmd->stderr_is_eq("");
-}
-
# fping -l
{
my $cmd = Test::Command->new(cmd => '(sleep 2; pkill fping)& fping -p 900 -l 127.0.0.1');