From 1a31681fd2854467cca021eba8a515124723b75a Mon Sep 17 00:00:00 2001 From: David Schweikert Date: Mon, 21 Nov 2016 22:42:51 +0100 Subject: [PATCH] fix test --- ci/test-11-nopriv.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/test-11-nopriv.pl b/ci/test-11-nopriv.pl index 87802fe..bd2065f 100755 --- a/ci/test-11-nopriv.pl +++ b/ci/test-11-nopriv.pl @@ -20,7 +20,7 @@ system("cp $fping6_bin /tmp/fping6.copy; chmod +x /tmp/fping6.copy"); my $cmd = Test::Command->new(cmd => "/tmp/fping.copy 127.0.0.1"); $cmd->exit_is_num(4); $cmd->stdout_is_eq(""); -$cmd->stderr_like(qr{\(null\): can't create socket \(must run as root\?\) : .*\n}); +$cmd->stderr_like(qr{: can't create socket \(must run as root\?\) : .*\n}); } # fping6 @@ -28,5 +28,5 @@ $cmd->stderr_like(qr{\(null\): can't create socket \(must run as root\?\) : .*\n my $cmd = Test::Command->new(cmd => "/tmp/fping6.copy ::1"); $cmd->exit_is_num(4); $cmd->stdout_is_eq(""); -$cmd->stderr_like(qr{\(null\): can't create raw socket \(must run as root\?\) : .*\n}); +$cmd->stderr_like(qr{: can't create raw socket \(must run as root\?\) : .*\n}); }