summaryrefslogtreecommitdiffstats
path: root/src/shared/tests.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-11-08 16:57:25 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-11-11 14:55:57 +0100
commit64ad9e088d1c93a62d67ff571ced2ad30955626c (patch)
tree67f0158d16c9d00e2e513512376ac8fbdc48a2cc /src/shared/tests.h
parenttests: get rid of test-helper.[ch] completely (diff)
downloadsystemd-64ad9e088d1c93a62d67ff571ced2ad30955626c.tar.xz
systemd-64ad9e088d1c93a62d67ff571ced2ad30955626c.zip
tests: modify enter_cgroup_subroot() to return the new path
Diffstat (limited to 'src/shared/tests.h')
-rw-r--r--src/shared/tests.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/tests.h b/src/shared/tests.h
index 3e4368460d..5a6fd53f36 100644
--- a/src/shared/tests.h
+++ b/src/shared/tests.h
@@ -19,7 +19,7 @@ static inline bool manager_errno_skip_test(int r) {
}
char* setup_fake_runtime_dir(void);
-int enter_cgroup_subroot(void);
+int enter_cgroup_subroot(char **ret_cgroup);
const char* get_testdata_dir(void);
const char* get_catalog_dir(void);
bool slow_tests_enabled(void);