test: add a table test for ShowStatus
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 23 Jul 2018 14:45:01 +0000 (23:45 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 23 Jul 2018 14:45:01 +0000 (23:45 +0900)
src/test/test-tables.c

index 944104a..8195725 100644 (file)
@@ -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);