2 # SPDX-License-Identifier: LGPL-2.1-or-later
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
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