]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/test/test-helper.h
Add SPDX license identifiers to source files under the LGPL
[thirdparty/systemd.git] / src / test / test-helper.h
index 7c9eff248358147048df56b586fe92bf6f54d15f..1ee93f5c55d22691a643bc527fd7b16d7131c997 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
 #pragma once
 
 /***
@@ -20,8 +21,6 @@
 ***/
 
 #include "sd-daemon.h"
-#include "string-util.h"
-#include "tests.h"
 
 #include "macro.h"
 
@@ -42,5 +41,4 @@
                -ENOMEDIUM /* cannot determine cgroup */         \
                )
 
-#define TEST_DATA_DIR(subdir)                                   \
-        strjoina(get_testdata_dir(), subdir)
+int enter_cgroup_subroot(void);