diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-07-23 16:45:01 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-07-23 16:45:01 +0200 |
commit | a890906ce3f6d29fdd853a857dc73fe05ca6b1e9 (patch) | |
tree | 47608d239e409e925dc3d2abe35bc2d72ec83029 /src | |
parent | core: serialize and deserialize current ShowStatus (diff) | |
download | systemd-a890906ce3f6d29fdd853a857dc73fe05ca6b1e9.tar.xz systemd-a890906ce3f6d29fdd853a857dc73fe05ca6b1e9.zip |
test: add a table test for ShowStatus
Diffstat (limited to 'src')
-rw-r--r-- | src/test/test-tables.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test-tables.c b/src/test/test-tables.c index 944104a25a..819572593f 100644 --- a/src/test/test-tables.c +++ b/src/test/test-tables.c @@ -24,6 +24,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" @@ -91,6 +92,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); |