oraenv fails with error: “test: unknown operator ==”

(Doc ID 2017648.1)

Last updated on JUNE 11, 2015

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Oracle Database - Standard Edition - Version 12.1.0.1 and later
Information in this document applies to any platform.

Symptoms

Under Bourne shell (sh) oraenv fails with error

./oraenv: test: unknown operator ==


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms