]> git.proxmox.com Git - systemd.git/blob - test/units/testsuite-06.sh
New upstream version 249~rc1
[systemd.git] / test / units / testsuite-06.sh
1 #!/usr/bin/env bash
2 set -eux
3 set -o pipefail
4
5 echo 1 >/sys/fs/selinux/enforce || {
6 echo "Can't make selinux enforcing, skipping test"
7 touch /testok
8 exit
9 }
10
11 runcon -t systemd_test_start_t systemctl start hola
12 runcon -t systemd_test_reload_t systemctl reload hola
13 runcon -t systemd_test_stop_t systemctl stop hola
14
15 touch /testok