diff options
author | Steve Kemp <steve@steve.org.uk> | 2012-11-14 08:38:39 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2012-11-14 08:38:39 +0000 |
commit | 88d2e949fb685239c3caa746574b009bbfbe8ff2 (patch) | |
tree | 2c41a1caa93a2b75c74a93c6401be6c58105ba72 /lib/custodian/protocol-tests | |
parent | fa6775c51fbf51a4b23f50c6fe7acbeef3ef6bd8 (diff) |
Use the system wide one if we can.
Diffstat (limited to 'lib/custodian/protocol-tests')
-rwxr-xr-x | lib/custodian/protocol-tests/ping.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/custodian/protocol-tests/ping.rb b/lib/custodian/protocol-tests/ping.rb index fd5a4ef..7f1ffbd 100755 --- a/lib/custodian/protocol-tests/ping.rb +++ b/lib/custodian/protocol-tests/ping.rb @@ -57,6 +57,10 @@ class PINGTest 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? ) @error = "Failed to find 'multi-ping'" |