/tmp/.checkProfile.sh: test: unknown operator == A non-zero return code was returned from sourcing /etc/profile.CA. Please fix the error in /etc/profile.CA and then run the install again.

Document ID : KB000013452
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

When attempting to run the agent installer encountering error: 
/tmp/.checkProfile.sh: test: unknown operator == 
A non-zero return code was returned from sourcing /etc/profile.CA. Please fix the error in /etc/profile.CAand then run the install again. 

Question:

When running the installer for Unix the following error is encountered:

/tmp/.checkProfile.sh: test: unknown operator == 
A non-zero return code was returned from sourcing /etc/profile.CA. Please fix the error in /etc/profile.CAand then run the install again. 

Environment:
Unix only
Answer:

Make sure you are running Bash when installing.  The profile.CA cannot be sourced in a K-Shell or Korn Shell enviroment.