]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: make sure output of test TEST-03 test service ends up on console
authorLennart Poettering <lennart@poettering.net>
Wed, 6 Jun 2018 08:16:42 +0000 (10:16 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 6 Jun 2018 09:24:34 +0000 (11:24 +0200)
test/TEST-03-JOBS/test-jobs.sh
test/TEST-03-JOBS/test.sh

index 4c954d039739b1caad7fa8162484e92dfbfe1c71..e66ea53621f3590201c6bd4546945a3229296a55 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash -e
+#!/bin/bash -ex
 
 # Test merging of a --job-mode=ignore-dependencies job into a previously
 # installed job.
index 65a8893fea8e0dea63e59d392ad65fc6a7396f65..08e5cfe6c870b35438a1439f5f43d7f526622742 100755 (executable)
@@ -28,6 +28,8 @@ After=multi-user.target
 [Service]
 ExecStart=/test-jobs.sh
 Type=oneshot
+StandardOutput=tty
+StandardError=tty
 EOF
 
         # copy the units used by this test