diff options
author | Mike Yuan <me@yhndnzj.com> | 2024-08-17 13:20:09 +0200 |
---|---|---|
committer | Mike Yuan <me@yhndnzj.com> | 2024-08-17 18:52:42 +0200 |
commit | 6c8ade30661f7d2d1b286c58050c4f9b1ed7b3e9 (patch) | |
tree | 48147942bd44670e5325990d4e2d39a057cdcd28 /src/test/test-path.c | |
parent | network: refuse files under API VFS specified in PrivateKeyFile= and friends (diff) | |
download | systemd-6c8ade30661f7d2d1b286c58050c4f9b1ed7b3e9.tar.xz systemd-6c8ade30661f7d2d1b286c58050c4f9b1ed7b3e9.zip |
core/unit: rename set_unit_path() -> setenv_unit_path()
The previous name is quite vague on what this precisely
do.
Diffstat (limited to 'src/test/test-path.c')
-rw-r--r-- | src/test/test-path.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test-path.c b/src/test/test-path.c index e49653a240..fd3120f922 100644 --- a/src/test/test-path.c +++ b/src/test/test-path.c @@ -397,8 +397,8 @@ int main(int argc, char *argv[]) { test_setup_logging(LOG_INFO); - assert_se(get_testdata_dir("test-path", &test_path) >= 0); - assert_se(set_unit_path(test_path) >= 0); + ASSERT_OK(get_testdata_dir("test-path", &test_path)); + ASSERT_OK(setenv_unit_path(test_path)); assert_se(runtime_dir = setup_fake_runtime_dir()); for (const test_function_t *test = tests; *test; test++) { |