summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-20 11:32:03 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-20 11:32:03 +0000
commitb91758f144330ab95717e996a48f14335a06ee0b (patch)
treeae927b0e1b66c12a972aee5b8e972fdf9418314d /lib
parent900011bde28c2934c1c85eb95f1f70b4312417f8 (diff)
Use the system-multi-ping.
Diffstat (limited to 'lib')
-rwxr-xr-xlib/custodian/protocol-tests/ping.rb10
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? )