summaryrefslogtreecommitdiff
path: root/src/test/test-load-fragment.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-08-26 10:40:17 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-10-13 19:44:47 +0200
commit0047d54d4241e04bb8812e68d9f826d90e2881eb (patch)
tree6a4509f61aab86b4e7c06ba9d87c0f659abc7cc8 /src/test/test-load-fragment.c
parent1308f72e831dcb634e7798c125611808f8b76cff (diff)
downloadsystemd-0047d54d4241e04bb8812e68d9f826d90e2881eb.tar.gz
shared/install: rename 'UnitFileInstallInfo' to 'InstallInfo'
- shorter is better - name now matches the defining-file name I was also considering UnitInstallInfo. Can change if people prefer that.
Diffstat (limited to 'src/test/test-load-fragment.c')
-rw-r--r--src/test/test-load-fragment.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/test-load-fragment.c b/src/test/test-load-fragment.c
index cc6301e9dc..7705c4877d 100644
--- a/src/test/test-load-fragment.c
+++ b/src/test/test-load-fragment.c
@@ -509,12 +509,12 @@ TEST(config_parse_log_extra_fields) {
TEST(install_printf, .sd_booted = true) {
char name[] = "name.service",
path[] = "/run/systemd/system/name.service";
- UnitFileInstallInfo i = { .name = name, .path = path, };
- UnitFileInstallInfo i2 = { .name= name, .path = path, };
+ InstallInfo i = { .name = name, .path = path, };
+ InstallInfo i2 = { .name= name, .path = path, };
char name3[] = "name@inst.service",
path3[] = "/run/systemd/system/name.service";
- UnitFileInstallInfo i3 = { .name = name3, .path = path3, };
- UnitFileInstallInfo i4 = { .name = name3, .path = path3, };
+ InstallInfo i3 = { .name = name3, .path = path3, };
+ InstallInfo i4 = { .name = name3, .path = path3, };
_cleanup_free_ char *mid = NULL, *bid = NULL, *host = NULL, *gid = NULL, *group = NULL, *uid = NULL, *user = NULL;