Parent functions
Table 44. Parent functions calling versionCompare
Parent Function, Script
Description
db2.home_compare.sh
Compares the real and expected values for
the disk space for DB2 HOME prerequisite
property.
oracle.Client_compare.sh
Compares the real and expected values for
the Oracle client prerequisite property.
os.locale_compare.sh
Compares the real and expected values for
the OS locale prerequisite property.
os.MozillaVersion_compare.sh
Compares the real and expected values for
Mozilla Firefox prerequisite property.
os.package.perl_compare.sh
Compares the real and expected values for
Perl package prerequisite property. Calls
itself.
os.RAMSize_compare.sh
Compares the real and expected values for
the RAM prerequisite property.
os.space_compare.sh
Compares the real and expected values for
available disk space prerequisite property.
OS_Version_compare.sh
Compares the real and expected values for
the OS version prerequisite property.
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.
Appendix J. Other functions for UNIX systems
143
Summary of Contents for Prerequisite Scanner
Page 1: ...Prerequisite Scanner Version 1 1 1 10 User s Guide ...
Page 2: ......
Page 3: ...Prerequisite Scanner Version 1 1 1 10 User s Guide ...
Page 8: ...vi Prerequisite Scanner User s Guide ...
Page 10: ...viii Prerequisite Scanner User s Guide ...
Page 40: ...Figure 6 result txt file on Windows systems 30 Prerequisite Scanner User s Guide ...
Page 46: ...36 Prerequisite Scanner User s Guide ...
Page 68: ...58 Prerequisite Scanner User s Guide ...
Page 78: ...Figure 11 precheck log file with the debug data 68 Prerequisite Scanner User s Guide ...
Page 84: ...74 Prerequisite Scanner User s Guide ...
Page 88: ...78 Prerequisite Scanner User s Guide ...
Page 92: ...82 Prerequisite Scanner User s Guide ...
Page 116: ...106 Prerequisite Scanner User s Guide ...
Page 122: ...112 Prerequisite Scanner User s Guide ...
Page 136: ...126 Prerequisite Scanner User s Guide ...
Page 138: ...128 Prerequisite Scanner User s Guide ...
Page 140: ...130 Prerequisite Scanner User s Guide ...
Page 158: ...148 Prerequisite Scanner User s Guide ...
Page 164: ...154 Prerequisite Scanner User s Guide ...
Page 166: ...156 Prerequisite Scanner User s Guide ...
Page 170: ...160 Prerequisite Scanner User s Guide ...
Page 171: ......
Page 172: ... Printed in USA ...