summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/test-bus-gvariant.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsystemd-bus/test-bus-gvariant.c')
-rw-r--r--src/libsystemd-bus/test-bus-gvariant.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libsystemd-bus/test-bus-gvariant.c b/src/libsystemd-bus/test-bus-gvariant.c
index 57015ae1b8..7ceeb81b9d 100644
--- a/src/libsystemd-bus/test-bus-gvariant.c
+++ b/src/libsystemd-bus/test-bus-gvariant.c
@@ -178,6 +178,15 @@ static void test_marshal(void) {
blob = NULL;
assert_se(bus_message_dump(n, NULL, true) >= 0);
+
+ m = sd_bus_message_unref(m);
+
+ assert_se(sd_bus_message_new_method_call(bus, "a.x", "/a/x", "a.x", "Ax", &m) >= 0);
+
+ assert_se(sd_bus_message_append(m, "as", 0) >= 0);
+
+ assert_se(bus_message_seal(m, 4712) >= 0);
+ assert_se(bus_message_dump(m, NULL, true) >= 0);
}
int main(int argc, char *argv[]) {