chiark / gitweb /
copy: rework copy_file_atomic() to copy the specified file via O_TMPFILE if possible
[elogind.git] / src / login / test-login-tables.c
1 /* SPDX-License-Identifier: LGPL-2.1+ */
2 /***
3   This file is part of systemd
4
5   Copyright 2013 Zbigniew JÄ™drzejewski-Szmek
6 ***/
7
8 #include "logind-action.h"
9 #include "logind-session.h"
10 #include "test-tables.h"
11
12 int main(int argc, char **argv) {
13         test_table(handle_action, HANDLE_ACTION);
14         test_table(inhibit_mode, INHIBIT_MODE);
15         test_table(kill_who, KILL_WHO);
16         test_table(session_class, SESSION_CLASS);
17         test_table(session_state, SESSION_STATE);
18         test_table(session_type, SESSION_TYPE);
19         test_table(user_state, USER_STATE);
20
21         return EXIT_SUCCESS;
22 }