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