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