summaryrefslogtreecommitdiff
path: root/src/test/test-fileio.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-07-03 17:50:55 +0200
committerLennart Poettering <lennart@poettering.net>2014-07-03 17:54:24 +0200
commit717603e391b52983ca1fd218e7333a1b9dfc5c05 (patch)
tree1a4da5a932aeaa9da207d46e4f71b8bc566e2c27 /src/test/test-fileio.c
parent98be1a746ac0d7a17e69ccb05936a4d6b3223e97 (diff)
machinectl: show /etc/os-release information of container in status output
Diffstat (limited to 'src/test/test-fileio.c')
-rw-r--r--src/test/test-fileio.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/test-fileio.c b/src/test/test-fileio.c
index 47a0907f90..1de59fa573 100644
--- a/src/test/test-fileio.c
+++ b/src/test/test-fileio.c
@@ -72,7 +72,7 @@ static void test_parse_env_file(void) {
fflush(f);
fclose(f);
- r = load_env_file(t, NULL, &a);
+ r = load_env_file(NULL, t, NULL, &a);
assert_se(r >= 0);
STRV_FOREACH(i, a)
@@ -139,7 +139,7 @@ static void test_parse_env_file(void) {
r = write_env_file(p, a);
assert_se(r >= 0);
- r = load_env_file(p, NULL, &b);
+ r = load_env_file(NULL, p, NULL, &b);
assert_se(r >= 0);
unlink(t);
@@ -179,7 +179,7 @@ static void test_parse_multiline_env_file(void) {
fflush(f);
fclose(f);
- r = load_env_file(t, NULL, &a);
+ r = load_env_file(NULL, t, NULL, &a);
assert_se(r >= 0);
STRV_FOREACH(i, a)
@@ -193,7 +193,7 @@ static void test_parse_multiline_env_file(void) {
r = write_env_file(p, a);
assert_se(r >= 0);
- r = load_env_file(p, NULL, &b);
+ r = load_env_file(NULL, p, NULL, &b);
assert_se(r >= 0);
unlink(t);