diff options
author | Steve Kemp <steve@steve.org.uk> | 2012-11-20 11:32:03 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2012-11-20 11:32:03 +0000 |
commit | b91758f144330ab95717e996a48f14335a06ee0b (patch) | |
tree | ae927b0e1b66c12a972aee5b8e972fdf9418314d /lib/custodian | |
parent | 900011bde28c2934c1c85eb95f1f70b4312417f8 (diff) |
Use the system-multi-ping.
Diffstat (limited to 'lib/custodian')
-rwxr-xr-x | lib/custodian/protocol-tests/ping.rb | 10 |
1 files changed, 1 insertions, 9 deletions
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? ) |