]> git.gsnw.org Git - fping.git/commitdiff
ci: Fix test unkown host
authorGerman Service Network <support@gsnw.de>
Thu, 18 Dec 2025 09:01:22 +0000 (10:01 +0100)
committerSebastian <176771227+gsnw-sebast@users.noreply.github.com>
Fri, 19 Dec 2025 07:24:22 +0000 (08:24 +0100)
ci/test-13-unknown-host.pl

index 65c8312fb7846cfe9e857f179971be3591b729f7..229c4e0f859f798305e39eeef572109b8292338d 100755 (executable)
@@ -7,5 +7,5 @@ use Test::Command tests => 3;
 my $cmd = Test::Command->new(cmd => "fping nosuchname.example.com");
 $cmd->exit_is_num(2);
 $cmd->stdout_is_eq("");
-$cmd->stderr_like(qr{^nosuchname\.example\.com: .*not (known|found)});
+$cmd->stderr_like(qr{^nosuchname\.example\.com: (.*not (known|found)|No address associated with hostname)});
 }