diff options
author | Steve Kemp <steve@steve.org.uk> | 2012-11-13 20:42:53 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2012-11-13 20:42:53 +0000 |
commit | c50322f36aacb0c4e486f915bdd3ac7de74d75e3 (patch) | |
tree | 43aa57460e04e4c4d0334f10f21d39c07d5d3f21 /lib/custodian | |
parent | c2e2c7a771ca967e680ad5c45b9392957655a7d4 (diff) |
search more paths for mutli-ping
Diffstat (limited to 'lib/custodian')
-rwxr-xr-x | lib/custodian/protocol-tests/ping.rb | 8 |
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'" |