]> git.ipfire.org Git - thirdparty/systemd.git/blob - test/TEST-06-SELINUX/test-selinux-checks.sh
scripts: use 4 space indentation
[thirdparty/systemd.git] / test / TEST-06-SELINUX / test-selinux-checks.sh
1 #!/bin/bash
2 set -x
3 set -e
4 set -o pipefail
5
6 echo 1 >/sys/fs/selinux/enforce
7 runcon -t systemd_test_start_t systemctl start hola
8 runcon -t systemd_test_reload_t systemctl reload hola
9 runcon -t systemd_test_stop_t systemctl stop hola
10
11 touch /testok