summaryrefslogtreecommitdiff
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
commit094eb9de7b10511829aaee616df1b2e8f5e5b6af (patch)
tree43aa57460e04e4c4d0334f10f21d39c07d5d3f21
parentfb688693c060e3e82705267363ee83b64c8cbdca (diff)
search more paths for mutli-ping
-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'"