]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: add --more flag when enumerating via List varlink method
authorLennart Poettering <lennart@poettering.net>
Wed, 2 Oct 2024 07:22:28 +0000 (09:22 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 2 Oct 2024 07:22:52 +0000 (09:22 +0200)
The call returns multiple entries, hence should be called with `--more`.

test/units/TEST-50-DISSECT.dissect.sh

index 84b7c15bff6a1820127bc4807eb4920ea32de17f..306ea1f504e851ed00c726f2ac2c001107c3df73 100755 (executable)
@@ -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