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
Содержание Prerequisite Scanner
Страница 1: ...Prerequisite Scanner Version 1 1 1 10 User s Guide ...
Страница 2: ......
Страница 3: ...Prerequisite Scanner Version 1 1 1 10 User s Guide ...
Страница 8: ...vi Prerequisite Scanner User s Guide ...
Страница 10: ...viii Prerequisite Scanner User s Guide ...
Страница 40: ...Figure 6 result txt file on Windows systems 30 Prerequisite Scanner User s Guide ...
Страница 46: ...36 Prerequisite Scanner User s Guide ...
Страница 68: ...58 Prerequisite Scanner User s Guide ...
Страница 78: ...Figure 11 precheck log file with the debug data 68 Prerequisite Scanner User s Guide ...
Страница 84: ...74 Prerequisite Scanner User s Guide ...
Страница 88: ...78 Prerequisite Scanner User s Guide ...
Страница 92: ...82 Prerequisite Scanner User s Guide ...
Страница 116: ...106 Prerequisite Scanner User s Guide ...
Страница 122: ...112 Prerequisite Scanner User s Guide ...
Страница 136: ...126 Prerequisite Scanner User s Guide ...
Страница 138: ...128 Prerequisite Scanner User s Guide ...
Страница 140: ...130 Prerequisite Scanner User s Guide ...
Страница 158: ...148 Prerequisite Scanner User s Guide ...
Страница 164: ...154 Prerequisite Scanner User s Guide ...
Страница 166: ...156 Prerequisite Scanner User s Guide ...
Страница 170: ...160 Prerequisite Scanner User s Guide ...
Страница 171: ......
Страница 172: ... Printed in USA ...