tests: avoid unwarranted failure in mock-simulated non-SELinux env.