summaryrefslogtreecommitdiff
path: root/src/test/test-tables.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-07-23 23:45:01 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-07-23 23:45:01 +0900
commita890906ce3f6d29fdd853a857dc73fe05ca6b1e9 (patch)
tree47608d239e409e925dc3d2abe35bc2d72ec83029 /src/test/test-tables.c
parentbee38b5cf87ade018ecd809d3f5f9f7e4cef2947 (diff)
downloadsystemd-a890906ce3f6d29fdd853a857dc73fe05ca6b1e9.tar.gz
test: add a table test for 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 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);