rh-openjdk / MSITests

MIT License
1 stars 2 forks source link

OTOOL_OS_VERSION variable usage #33

Open RadekCap opened 1 year ago

RadekCap commented 1 year ago

@RadekCap I have found one other issue (in console of adoptium run higher): 17:50:28 +++ [[ '' -eq 2012 ]]

Variable OTOOL_OS_VERSION is undocumented. Seems like there is some special handling of Windows version 2012. Based on Adoptium test machine name, this version happens to be used for testing. Testing in GH uses more recent version.

Edit: But it could be some leftover code which is not really necessary anymore.

Originally posted by @zzambers in https://github.com/adoptium/installer/issues/559#issuecomment-1456719928

RadekCap commented 1 year ago

This looks like leftover from original source code which distinguished in between machines with and without RAM disk. I'll check it.