mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
test: add test case for AddDependencyUnitFiles assert
Follow-up for d87dc74e8f
This commit is contained in:
11
test/units/TEST-07-PID1.issue-35882.sh
Executable file
11
test/units/TEST-07-PID1.issue-35882.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
set -eux
|
||||
set -o pipefail
|
||||
|
||||
# shellcheck source=test/units/util.sh
|
||||
. "$(dirname "$0")"/util.sh
|
||||
|
||||
(! busctl call org.freedesktop.systemd1 /org/freedesktop/systemd1 org.freedesktop.systemd1.Manager AddDependencyUnitFiles "asssbb" 0 abracadabra After 1 1)
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user