tests: don't abort in fopen(/proc/mounts)
tests: don't abort in fopen(/proc/mounts)

The mock fopen() function will abort if "/proc/mounts" is
requested with "r" permissions and VIR_CGROUP_MOCK_FILENAME
env var is not set.

Unfortunately this is triggering by the libselinux library
constructor when it tries to read /proc/mounts to find out
if selinuxfs is mounted in an unusual place.

This, however, only affects libselinux in Debian as that
opens with "r", while in Fedora / RHEL it opens "re" and
thus luckily never triggered the abort(), instead getting
an EACCESS.

Signed-off-by: Daniel P. Berrangé <bb938cf255e055ff3507f2627d214e8e62118fcf@redhat.com>

andreabolognani/libvirt,jfehlig/libvirt,olafhering/libvirt,jfehlig/libvirt,libvirt/libvirt,zippy2/libvirt,libvirt/libvirt,zippy2/libvirt,libvirt/libvirt,olafhering/libvirt,jardasgit/libvirt,andreabolognani/libvirt,fabianfreyer/libvirt,jfehlig/libvirt,nertpinx/libvirt,andreabolognani/libvirt,eskultety/libvirt,nertpinx/libvirt,andreabolognani/libvirt,jardasgit/libvirt,eskultety/libvirt,crobinso/libvirt,eskultety/libvirt,crobinso/libvirt,libvirt/libvirt,crobinso/libvirt,olafhering/libvirt,nertpinx/libvirt,fabianfreyer/libvirt,zippy2/libvirt,fabianfreyer/libvirt,jardasgit/libvirt,olafhering/libvirt,jardasgit/libvirt,nertpinx/libvirt,nertpinx/libvirt,zippy2/libvirt,jardasgit/libvirt,eskultety/libvirt,crobinso/libvirt,fabianfreyer/libvirt,fabianfreyer/libvirt,andreabolognani/libvirt,jfehlig/libvirt,eskultety/libvirt