summaryrefslogtreecommitdiffstats
path: root/src/test/test-tables.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-07-23 21:17:07 +0200
committerGitHub <noreply@github.com>2018-07-23 21:17:07 +0200
commit0dbff467f7fe35861ac8ce967878c5eb48e45ea8 (patch)
tree01bc747ef00cc05c78d23f44b64ba4a8c4cb76b9 /src/test/test-tables.c
parentMerge pull request #9701 from yuwata/string-table-cleanups (diff)
parenttest: add a table test for ShowStatus (diff)
downloadsystemd-0dbff467f7fe35861ac8ce967878c5eb48e45ea8.tar.xz
systemd-0dbff467f7fe35861ac8ce967878c5eb48e45ea8.zip
Merge pull request #9685 from yuwata/fix-9663
core: serialize and deserialize current ShowStatus
Diffstat (limited to 'src/test/test-tables.c')
-rw-r--r--src/test/test-tables.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test-tables.c b/src/test/test-tables.c
index 027eaf3332..49268eae22 100644
--- a/src/test/test-tables.c
+++ b/src/test/test-tables.c
@@ -25,6 +25,7 @@
#include "rlimit-util.h"
#include "scope.h"
#include "service.h"
+#include "show-status.h"
#include "slice.h"
#include "socket-util.h"
#include "socket.h"
@@ -95,6 +96,7 @@ int main(int argc, char **argv) {
test_table(service_result, SERVICE_RESULT);
test_table(service_state, SERVICE_STATE);
test_table(service_type, SERVICE_TYPE);
+ test_table(show_status, SHOW_STATUS);
test_table(slice_state, SLICE_STATE);
test_table(socket_address_bind_ipv6_only, SOCKET_ADDRESS_BIND_IPV6_ONLY);
test_table(socket_exec_command, SOCKET_EXEC_COMMAND);