1
0
mirror of https://github.com/systemd/systemd.git synced 2025-02-25 21:57:32 +03:00

test: add --more flag when enumerating via List varlink method

The call returns multiple entries, hence should be called with `--more`.
This commit is contained in:
Lennart Poettering 2024-10-02 09:22:28 +02:00
parent bd4beaa2eb
commit 96c9e4a2de

View File

@ -529,7 +529,7 @@ systemd-sysext unmerge
rmdir /etc/extensions/app-nodistro
# Similar, but go via varlink
varlinkctl call /run/systemd/io.systemd.sysext io.systemd.sysext.List '{}'
varlinkctl call --more /run/systemd/io.systemd.sysext io.systemd.sysext.List '{}'
(! grep -q -F "MARKER=1" /usr/lib/systemd/system/some_file )
varlinkctl call /run/systemd/io.systemd.sysext io.systemd.sysext.Merge '{}'
grep -q -F "MARKER=1" /usr/lib/systemd/system/some_file