Hector Acosta has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/12726


Change subject: Use test -x to check for ntp-wait
......................................................................

Use test -x to check for ntp-wait

In centos 7, running ntp-wait --help results in:

/usr/sbin/ntp-wait version [unknown] calling Getopt::Std::getopts
(version 1.07 [paranoid]),
running under Perl version 5.16.3.

Usage: ntp-wait [-OPTIONS [-MORE_OPTIONS]] [--] [PROGRAM_ARG1 ...]

The following single-character options are accepted:
        With arguments: -n -s
        Boolean (without arguments): -v

Options may be merged together.  -- stops processing of options.
Space is not required between options and their arguments.
  [Now continuing due to backward compatibility and excessive paranoia.
   See 'perldoc Getopt::Std' about $Getopt::Std::STANDARD_HELP_VERSION.]

So instead of running it we get the path using command -v.

Change-Id: I53c63dfa651ac242050171da70540d24c4caf32c
---
M testdata/cluster/admin
1 file changed, 10 insertions(+), 7 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/26/12726/1
--
To view, visit http://gerrit.cloudera.org:8080/12726
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I53c63dfa651ac242050171da70540d24c4caf32c
Gerrit-Change-Number: 12726
Gerrit-PatchSet: 1
Gerrit-Owner: Hector Acosta <hector.aco...@cloudera.com>

Reply via email to