]> git.gsnw.org Git - fping.git/commitdiff
test-11-unpriv.pl: always use /tmp/fping.copy
authorErik Auerswald <auerswal@unix-ag.uni-kl.de>
Sun, 28 Jul 2024 17:28:01 +0000 (19:28 +0200)
committerDavid Schweikert <david@schweikert.ch>
Thu, 1 Aug 2024 17:04:06 +0000 (19:04 +0200)
ci/test-11-unpriv.pl

index 9141c3e6558ed5a98f23d50e3b3413b9686950bc..9cf529d5221fb52997a4b6cbdcad3152c7a0addb 100755 (executable)
@@ -38,7 +38,7 @@ sub test_unprivileged_works {
     plan tests => 3;
 
     {
-        my $cmd = Test::Command->new(cmd => "fping 127.0.0.1");
+        my $cmd = Test::Command->new(cmd => "/tmp/fping.copy 127.0.0.1");
         $cmd->exit_is_num(0);
         $cmd->stdout_is_eq("127.0.0.1 is alive\n");
         $cmd->stderr_is_eq("");