<oo-diagnostics> add selinux enforcing check; fix small bug in cache test