]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/shared/tests.h
nspawn-oci: use SYNTHETIC_ERRNO
[thirdparty/systemd.git] / src / shared / tests.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
2 #pragma once
3
4 #include <stdbool.h>
5
6 char* setup_fake_runtime_dir(void);
7 const char* get_testdata_dir(void);
8 const char* get_catalog_dir(void);
9 bool slow_tests_enabled(void);
10 void test_setup_logging(int level);
11 int log_tests_skipped(const char *message);
12 int log_tests_skipped_errno(int r, const char *message);
13
14 bool have_namespaces(void);