summaryrefslogtreecommitdiff
path: root/lib/custodian
diff options
context:
space:
mode:
Diffstat (limited to 'lib/custodian')
-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? )