X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Ftest%2Ftest-tables.c;h=fb751d13bd94376e629bba969a7fc0280f968aff;hp=9a3d3e8e741dbee8c5cdf78e94a79c0388bc572d;hb=bce415edcae8e7af8327de8265d621f95fa5426f;hpb=bf502e636be8f76e05b0334b4e78ea7a398ba241 diff --git a/src/test/test-tables.c b/src/test/test-tables.c index 9a3d3e8e7..fb751d13b 100644 --- a/src/test/test-tables.c +++ b/src/test/test-tables.c @@ -43,7 +43,6 @@ #include "unit-name.h" #include "unit.h" #include "util.h" -#include "syscall-list.h" #include "test-tables.h" @@ -83,7 +82,7 @@ int main(int argc, char **argv) { test_table(socket_exec_command, SOCKET_EXEC_COMMAND); test_table(socket_result, SOCKET_RESULT); test_table(socket_state, SOCKET_STATE); - test_table(start_limit_action, SERVICE_START_LIMIT); + test_table(failure_action, SERVICE_FAILURE_ACTION); test_table(swap_exec_command, SWAP_EXEC_COMMAND); test_table(swap_result, SWAP_RESULT); test_table(swap_state, SWAP_STATE); @@ -99,7 +98,5 @@ int main(int argc, char **argv) { test_table(unit_load_state, UNIT_LOAD_STATE); test_table(unit_type, UNIT_TYPE); - _test_table("syscall", syscall_to_name, syscall_from_name, syscall_max()); - return EXIT_SUCCESS; }