From b91758f144330ab95717e996a48f14335a06ee0b Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Tue, 20 Nov 2012 11:32:03 +0000 Subject: Use the system-multi-ping. --- lib/custodian/protocol-tests/ping.rb | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'lib/custodian/protocol-tests') diff --git a/lib/custodian/protocol-tests/ping.rb b/lib/custodian/protocol-tests/ping.rb index 3243b6b..309c77b 100755 --- a/lib/custodian/protocol-tests/ping.rb +++ b/lib/custodian/protocol-tests/ping.rb @@ -49,17 +49,9 @@ class PINGTest # - # Find the binary + # Find the binary we're going to invoke. # binary = nil - binary = "./bin/multi-ping" if ( File.exists?( "./bin/multi-ping" ) ) - binary = "../bin/multi-ping" if ( File.exists?( "../bin/multi-ping" ) ) - binary = "../../bin/multi-ping" if ( File.exists?( "../../bin/multi-ping" ) ) - binary = "../../../bin/multi-ping" if ( File.exists?( "../../../bin/multi-ping" ) ) - binary = "../../../../bin/multi-ping" if ( File.exists?( "../../../../bin/multi-ping" ) ) - # - # System-wide. - # binary = "/usr/bin/multi-ping" if ( File.exists?( "/usr/bin/multi-ping" ) ) if ( binary.nil? ) -- cgit v1.2.1