cpo: test only on Linux

Seems our platform checking wasn't working and it was always skipping.
This should ensure that the test run on Linux and don't run on ther
platforms.