mirror of
https://https.git.savannah.gnu.org/git/coreutils.git
synced 2026-01-26 07:27:53 +00:00
tests: recognize SELinux support on Android
* init.cfg (require_selinux_): Also try to see if 'mount' lists the selinuxfs.
This commit is contained in:
parent
acf0acd0c9
commit
f748dc7133
1
init.cfg
1
init.cfg
@ -112,6 +112,7 @@ require_selinux_()
|
||||
# When in a chroot of an SELinux-enabled system, but with a mock-simulated
|
||||
# SELinux-*disabled* system, recognize that SELinux is disabled system wide:
|
||||
grep 'selinuxfs$' /proc/filesystems > /dev/null \
|
||||
|| { mount | grep ' type selinuxfs ' > /dev/null; } \
|
||||
|| skip_ "this system lacks SELinux support"
|
||||
|
||||
# Independent of whether SELinux is enabled system-wide,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user