]> git.ipfire.org Git - thirdparty/systemd.git/blob - test/units/testsuite-06.sh
scope: on unified, make sure to unwatch all PIDs once they've been moved to the cgrou...
[thirdparty/systemd.git] / test / units / testsuite-06.sh
1 #!/usr/bin/env bash
2 set -x
3 set -e
4 set -o pipefail
5
6 echo 1 >/sys/fs/selinux/enforce || {
7 echo "Can't make selinux enforcing, skipping test"
8 touch /testok
9 exit
10 }
11
12 runcon -t systemd_test_start_t systemctl start hola
13 runcon -t systemd_test_reload_t systemctl reload hola
14 runcon -t systemd_test_stop_t systemctl stop hola
15
16 touch /testok