/***
This file is part of systemd
Copyright 2014 Ronny Chevalier
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.
systemd is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include "sd-id128.h"
#include "alloc-util.h"
#include "apparmor-util.h"
#include "architecture.h"
#include "audit-util.h"
#include "condition.h"
#include "hostname-util.h"
#include "ima-util.h"
#include "log.h"
#include "macro.h"
#include "selinux-util.h"
#include "smack-util.h"
#include "util.h"
static void test_condition_test_path(void) {
}
static void test_condition_test_ac_power(void) {
}
static void test_condition_test_host(void) {
int r;
r = sd_id128_get_machine(&id);
assert_se(r >= 0);
}
static void test_condition_test_architecture(void) {
const char *sa;
int a;
a = uname_architecture();
assert_se(a >= 0);
sa = architecture_to_string(a);
}
static void test_condition_test_kernel_command_line(void) {
condition = condition_new(CONDITION_KERNEL_COMMAND_LINE, "thisreallyshouldntbeonthekernelcommandline", false, false);
}
static void test_condition_test_null(void) {
}
static void test_condition_test_security(void) {
}
log_open();
return 0;
}