| 1 |
#%Module |
| 2 |
if {[versioncmp 4.6.0 4.6.0] != 0} { |
| 3 |
puts stderr {versioncmp command is inconsistent} |
| 4 |
} |
| 5 |
if {[versioncmp 4.6 4.6.0] != -1} { |
| 6 |
puts stderr {versioncmp command is inconsistent} |
| 7 |
} |
| 8 |
if {[versioncmp 4.6.0 4.6] != 1} { |
| 9 |
puts stderr {versioncmp command is inconsistent} |
| 10 |
} |
| 11 |
if {[versioncmp 2.2 2.10] != -1} { |
| 12 |
puts stderr {versioncmp command is inconsistent} |
| 13 |
} |
| 14 |
if {[versioncmp 2.0.1 2.0] != 1} { |
| 15 |
puts stderr {versioncmp command is inconsistent} |
| 16 |
} |
| 17 |
if {[versioncmp 2.0 2.0.a] != -1} { |
| 18 |
puts stderr {versioncmp command is inconsistent} |
| 19 |
} |
| 20 |
if {[versioncmp 2.0.b 2.0.a] != 1} { |
| 21 |
puts stderr {versioncmp command is inconsistent} |
| 22 |
} |