tests: Correctly skip qtest on non-POSIX hosts