Parent Functions Calling Versioncompare - IBM Prerequisite Scanner User Manual

Table of Contents

Advertisement

Parent functions
Table 44. Parent functions calling versionCompare
Parent Function, Script
db2.home_compare.sh
oracle.Client_compare.sh
os.locale_compare.sh
os.MozillaVersion_compare.sh
os.package.perl_compare.sh
os.RAMSize_compare.sh
os.space_compare.sh
OS_Version_compare.sh
Syntax
versionCompare real expected
Input parameters
String $real
Contains the actual value for a prerequisite property.
String $expected
Contains the expected value for a prerequisite property.
Return values
Integer 0
Returns the 0 return code if the real and the expected values are equal. The
parent function returns "PASS".
Special case: Returns the 0 return code and exits if the function receives empty
input parameters.
Integer -1
Returns the -1 return code if the real value is less than the expected value. The
parent function returns "FAIL".
Returns the -1 return code and exits if the function receives the second input
parameter is empty.
Integer 1
Returns the 1 return code if the real value is greater than the expected value.
The parent function returns "PASS".
Returns the 1 return code and exits if the function receives the first input
parameter is empty.
Description
Compares the real and expected values for
the disk space for DB2 HOME prerequisite
property.
Compares the real and expected values for
the Oracle client prerequisite property.
Compares the real and expected values for
the OS locale prerequisite property.
Compares the real and expected values for
Mozilla Firefox prerequisite property.
Compares the real and expected values for
Perl package prerequisite property. Calls
itself.
Compares the real and expected values for
the RAM prerequisite property.
Compares the real and expected values for
available disk space prerequisite property.
Compares the real and expected values for
the OS version prerequisite property.
Appendix J. Other functions for UNIX systems
143

Advertisement

Table of Contents
loading

Table of Contents