summaryrefslogtreecommitdiffstats
path: root/test/units/testsuite-31.sh
blob: 03aba36ab83957962eeb9eacca584af42fe2b10b (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env bash
# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail

if journalctl -b -t systemd --grep '\.device: Changed plugged -> dead'; then
    exit 1
fi

touch /testok