diff options
author | Luca Boccassi <luca.boccassi@gmail.com> | 2025-01-07 00:47:45 +0100 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2025-01-07 12:35:03 +0100 |
commit | f2b34ce7f397b89fbf734c05a1440e1541f5751d (patch) | |
tree | 30704d248cff3adecf5d0c3f7d5bccd2b4c1a967 /test | |
parent | docs: Remove VIRTUALIZED_TESTING.md (diff) | |
download | systemd-f2b34ce7f397b89fbf734c05a1440e1541f5751d.tar.xz systemd-f2b34ce7f397b89fbf734c05a1440e1541f5751d.zip |
test: add test case for AddDependencyUnitFiles assert
Follow-up for d87dc74e8f1a30d72a0f202e411400bab34ab55a
Diffstat (limited to 'test')
-rwxr-xr-x | test/units/TEST-07-PID1.issue-35882.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/units/TEST-07-PID1.issue-35882.sh b/test/units/TEST-07-PID1.issue-35882.sh new file mode 100755 index 0000000000..cf1650cc22 --- /dev/null +++ b/test/units/TEST-07-PID1.issue-35882.sh @@ -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 |