summaryrefslogtreecommitdiff
path: root/lib/custodian/protocol-tests/ping.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-13 20:42:53 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-13 20:42:53 +0000
commitc50322f36aacb0c4e486f915bdd3ac7de74d75e3 (patch)
tree43aa57460e04e4c4d0334f10f21d39c07d5d3f21 /lib/custodian/protocol-tests/ping.rb
parentc2e2c7a771ca967e680ad5c45b9392957655a7d4 (diff)
search more paths for mutli-ping
Diffstat (limited to 'lib/custodian/protocol-tests/ping.rb')
-rwxr-xr-xlib/custodian/protocol-tests/ping.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/custodian/protocol-tests/ping.rb b/lib/custodian/protocol-tests/ping.rb
index 45dbe7b..90d6cd7 100755
--- a/lib/custodian/protocol-tests/ping.rb
+++ b/lib/custodian/protocol-tests/ping.rb
@@ -48,9 +48,11 @@ class PINGTest
# Find the binary
#
binary = nil
- binary = "./util/multi-ping" if ( File.exists?( "./util/multi-ping" ) )
- binary = "../util/multi-ping" if ( File.exists?( "../util/multi-ping" ) )
- binary = "../../util/multi-ping" if ( File.exists?( "../../util/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" ) )
+ binary = "../../../../bin/multi-ping" if ( File.exists?( "../../../../bin/multi-ping" ) )
if ( binary.nil? )
@error = "Failed to find 'multi-ping'"