From 6c8ade30661f7d2d1b286c58050c4f9b1ed7b3e9 Mon Sep 17 00:00:00 2001 From: Mike Yuan Date: Sat, 17 Aug 2024 13:20:09 +0200 Subject: core/unit: rename set_unit_path() -> setenv_unit_path() The previous name is quite vague on what this precisely do. --- src/test/test-path.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/test/test-path.c') 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++) { -- cgit v1.2.3