test_env()

QNX SDP8.0PLMS User's GuideAPIConfigurationDeveloper

Compare environment variables

Synopsis:

test_env( "env_var", "expected_value" )

Description:

The test_env() function compares the specified environment variable, env_var, with the expected _value. If the values differ, then it is assumed that test_env() failed. If the specified environment variable is not found, test_env() will also result in a failure.

Multiplicity:

Zero or more instances in a task block.

Page updated: