summaryrefslogtreecommitdiffstats
path: root/test/units/testsuite-31.sh
blob: 5e99302299032fc266621ac7043bbf5579048d44 (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 '(?<!loop.|diskseq-.)\.device: Changed plugged -> dead'; then
    exit 1
fi

touch /testok