summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-01-20 14:40:44 +0100
committerLennart Poettering <lennart@poettering.net>2020-01-20 17:19:51 +0100
commite56a8790a0bf9021d693daef037cd6af85badf0d (patch)
tree40281a74dfeb87e7474e9f18f70f5eefb9e80026 /src/test
parent3b7f79dc9fc5557074ebe4a3b060e8dcf8cdcc0f (diff)
downloadsystemd-e56a8790a0bf9021d693daef037cd6af85badf0d.tar.gz
test: add test for https://github.com/systemd/systemd/issues/14560
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test-execute.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test-execute.c b/src/test/test-execute.c
index b3f8cc8434..ff40e0dd43 100644
--- a/src/test/test-execute.c
+++ b/src/test/test-execute.c
@@ -756,6 +756,7 @@ static void test_exec_specifier(Manager *m) {
static void test_exec_standardinput(Manager *m) {
test(__func__, m, "exec-standardinput-data.service", 0, CLD_EXITED);
test(__func__, m, "exec-standardinput-file.service", 0, CLD_EXITED);
+ test(__func__, m, "exec-standardinput-file-cat.service", 0, CLD_EXITED);
}
static void test_exec_standardoutput(Manager *m) {
@@ -786,6 +787,7 @@ static int run_tests(UnitFileScope scope, const test_entry tests[], char **patte
assert_se(tests);
r = manager_new(scope, MANAGER_TEST_RUN_BASIC, &m);
+ m->default_std_output = EXEC_OUTPUT_NULL; /* don't rely on host journald */
if (manager_errno_skip_test(r))
return log_tests_skipped_errno(r, "manager_new");
assert_se(r >= 0);