summaryrefslogtreecommitdiffstats
path: root/test/units/TEST-07-PID1.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/units/TEST-07-PID1.sh')
-rwxr-xr-xtest/units/TEST-07-PID1.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/units/TEST-07-PID1.sh b/test/units/TEST-07-PID1.sh
new file mode 100755
index 0000000..873d638
--- /dev/null
+++ b/test/units/TEST-07-PID1.sh
@@ -0,0 +1,16 @@
+#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
+set -eux
+set -o pipefail
+
+# shellcheck source=test/units/test-control.sh
+. "$(dirname "$0")"/test-control.sh
+
+# Issue: https://github.com/systemd/systemd/issues/2730
+# See TEST-07-PID1/test.sh for the first "half" of the test
+mountpoint /issue2730
+
+run_subtests
+
+touch /testok
+systemctl --no-block exit 123