summaryrefslogtreecommitdiffstats
path: root/src/test/test-bpf-restrict-fs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test-bpf-restrict-fs.c')
-rw-r--r--src/test/test-bpf-restrict-fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-bpf-restrict-fs.c b/src/test/test-bpf-restrict-fs.c
index 7ece33750b..11e97bf922 100644
--- a/src/test/test-bpf-restrict-fs.c
+++ b/src/test/test-bpf-restrict-fs.c
@@ -83,7 +83,7 @@ int main(int argc, char *argv[]) {
return log_tests_skipped("cgroupfs not available");
ASSERT_OK(get_testdata_dir("units", &unit_dir));
- ASSERT_OK(set_unit_path(unit_dir));
+ ASSERT_OK(setenv_unit_path(unit_dir));
assert_se(runtime_dir = setup_fake_runtime_dir());
ASSERT_OK(manager_new(RUNTIME_SCOPE_SYSTEM, MANAGER_TEST_RUN_BASIC, &m));