From 094eb9de7b10511829aaee616df1b2e8f5e5b6af Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Tue, 13 Nov 2012 20:42:53 +0000 Subject: search more paths for mutli-ping --- lib/custodian/protocol-tests/ping.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'lib/custodian') 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'" -- cgit v1.2.1