From: Erik Auerswald Date: Sun, 23 Jun 2024 16:57:18 +0000 (+0200) Subject: ci: skip an unreliable test on macOS X-Git-Tag: v5.3-rc1~42 X-Git-Url: https://git.gsnw.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab20b150b83af45a0f70fff2b40355f5878fd0d9;p=fping.git ci: skip an unreliable test on macOS Sometimes, this test fails on macOS, at least on the GitHub CI. It looks as if the fping process is killed before it produces the required output. This test works reliably on GNU/Linux, so keep it, but skip it when running on macOS. --- diff --git a/ci/test-07-options-i-m.pl b/ci/test-07-options-i-m.pl index da442a2..4a29970 100755 --- a/ci/test-07-options-i-m.pl +++ b/ci/test-07-options-i-m.pl @@ -51,7 +51,10 @@ $cmd->stderr_like(qr{\[\d+:\d+:\d+\] } # fping -l -Q -{ +SKIP: { +if($^O eq 'darwin') { + skip 'On macOS, this test is unreliable', 2; +} my $cmd = Test::Command->new(cmd => '(sleep 2; pkill fping)& fping -p 850 -l -Q 1 127.0.0.1'); $cmd->stdout_is_eq(""); $cmd->stderr_like(qr{\[\d\d:\d\d:\d\d\]