hwdb: fix screen rotation for EXO Wings 2in1 w1125 (#36283)
[systemd.io.git] / test / units / TEST-66-DEVICE-ISOLATION.sh
blobccdfcb274c1d9a09e74dd9ece99af6ee3ff29a46
1 #!/usr/bin/env bash
2 # SPDX-License-Identifier: LGPL-2.1-or-later
3 set -eux
4 set -o pipefail
6 RESULTS_FILE=/tmp/TEST-66-DEVICE-ISOLATION.serviceresults
8 systemd-analyze log-level debug
10 systemctl start TEST-66-DEVICE-ISOLATION-device-isolation.service
12 sleep 5
13 grep -q "Operation not permitted" "$RESULTS_FILE"
15 systemctl daemon-reload
16 systemctl daemon-reexec
18 systemctl stop TEST-66-DEVICE-ISOLATION-device-isolation.service
20 grep -q "thisshouldnotbehere" "$RESULTS_FILE" && exit 42
22 systemd-analyze log-level info
24 touch /testok