fix rt#88937, check OS in test