summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-07-09 00:27:18 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-07-19 16:51:14 +0200
commitd556db03724e872a99e2eb709ade42eedfcb7915 (patch)
treea0060b7e2c318c0341fc5b98cb370af3645c579d
parenttest-unit-file: move some tests to new test-env-file.c (diff)
downloadsystemd-d556db03724e872a99e2eb709ade42eedfcb7915.tar.xz
systemd-d556db03724e872a99e2eb709ade42eedfcb7915.zip
Rename test-unit-file to test-load-fragment
This file was testing a mix of functions from src/core/load-fragment.c and some from src/shared/install.c. Let's name it more appropriately. I want to add tests for the new unit-file.c too.
-rw-r--r--src/test/meson.build2
-rw-r--r--src/test/test-load-fragment.c (renamed from src/test/test-unit-file.c)0
2 files changed, 1 insertions, 1 deletions
diff --git a/src/test/meson.build b/src/test/meson.build
index 22ae16eea5..ddc04dda65 100644
--- a/src/test/meson.build
+++ b/src/test/meson.build
@@ -148,7 +148,7 @@ tests += [
libmount,
libblkid]],
- [['src/test/test-unit-file.c',
+ [['src/test/test-load-fragment.c',
'src/test/test-helper.c'],
[libcore,
libshared],
diff --git a/src/test/test-unit-file.c b/src/test/test-load-fragment.c
index 8deaf4eb0f..8deaf4eb0f 100644
--- a/src/test/test-unit-file.c
+++ b/src/test/test-load-fragment.c